[PATCH] Fix oom_kill_process() printout

Previous thread: [PATCH 0/4] MultiAdmin 1.0.7 by Jan Engelhardt on Saturday, October 20, 2007 - 7:51 pm. (7 messages)

Next thread: Re: what to call it after 2.6.23 but before 2.6.24-rc1? by Linus Torvalds on Saturday, October 20, 2007 - 8:37 pm. (4 messages)
To: <akpm@...>
Cc: <linux-kernel@...>
Date: Saturday, October 20, 2007 - 6:00 pm

CHECK mm/oom_kill.c
mm/oom_kill.c:499:27: warning: incorrect type in argument 2 (different base types)
mm/oom_kill.c:499:27: expected restricted unsigned int [usertype] gfp_mask
mm/oom_kill.c:499:27: got unsigned long [unsigned] [addressable] points
mm/oom_kill.c:499:35: warning: incorrect type in argument 3 (different base types)
mm/oom_kill.c:499:35: expected int [signed] order
mm/oom_kill.c:499:35: got restricted unsigned int [usertype] gfp_mask

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

mm/oom_kill.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -496,7 +496,7 @@ retry:
panic("Out of memory and no killable processes...\n");
}

- if (oom_kill_process(p, points, gfp_mask, order,
+ if (oom_kill_process(p, gfp_mask, order, points,
"Out of memory"))
goto retry;

-

Previous thread: [PATCH 0/4] MultiAdmin 1.0.7 by Jan Engelhardt on Saturday, October 20, 2007 - 7:51 pm. (7 messages)

Next thread: Re: what to call it after 2.6.23 but before 2.6.24-rc1? by Linus Torvalds on Saturday, October 20, 2007 - 8:37 pm. (4 messages)