Skip to content

Commit

Permalink
mm-oom-remove-prefer-children-over-parent-heuristic-checkpatch-fixes
Browse files Browse the repository at this point in the history
ERROR: "(foo*)" should be "(foo *)"
torvalds#167: FILE: mm/oom_kill.c:985:
+				      (void*) message);

total: 1 errors, 0 warnings, 128 lines checked

NOTE: For some of the reported defects, checkpatch may be able to
      mechanically convert to the typical style using --fix or --fix-inplace.

./patches/mm-oom-remove-prefer-children-over-parent-heuristic.patch has style problems, please review.

NOTE: If any of the errors are false positives, please report
      them to the maintainer, see CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Shakeel Butt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Feb 25, 2019
1 parent 07b5005 commit 56e7558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/oom_kill.c
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,7 @@ static void oom_kill_process(struct oom_control *oc, const char *message)
if (oom_group) {
mem_cgroup_print_oom_group(oom_group);
mem_cgroup_scan_tasks(oom_group, oom_kill_memcg_member,
(void*) message);
(void*)message);
mem_cgroup_put(oom_group);
}
}
Expand Down

0 comments on commit 56e7558

Please sign in to comment.