Commit 9c6489d
committed
fixup! include,mm: fix dump_tasks declaration after memcg refactor
../mm/oom_kill.c:611:13: error: static declaration of 'dump_tasks' follows non-static declaration
static void dump_tasks(struct oom_control *oc)
^
../include/linux/oom.h:123:13: note: previous declaration is here
extern void dump_tasks(struct mem_cgroup *memcg,
^
../mm/oom_kill.c:655:16: error: too few arguments to function call, expected 2, have 1
dump_tasks(oc);
~~~~~~~~~~ ^
../include/linux/oom.h:123:13: note: 'dump_tasks' declared here
extern void dump_tasks(struct mem_cgroup *memcg,
^
2 errors generated.
Signed-off-by: fukiame <[email protected]>1 parent d6bd26b commit 9c6489d
2 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | | - | |
| 123 | + | |
125 | 124 | | |
126 | 125 | | |
127 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
612 | 612 | | |
613 | 613 | | |
614 | 614 | | |
| |||
0 commit comments