* [PATCH] cpuset: fix sparse warning
@ 2006-01-22 20:04 Randy.Dunlap
2006-01-23 7:02 ` Paul Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2006-01-22 20:04 UTC (permalink / raw)
To: pj, akpm; +Cc: lkml
From: Randy Dunlap <rdunlap@xenotime.net>
fix sparse warning:
kernel/cpuset.c:644:38: warning: non-ANSI function declaration of function 'cpuset_update_task_memory_state'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
kernel/cpuset.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2616-rc1g4.orig/kernel/cpuset.c
+++ linux-2616-rc1g4/kernel/cpuset.c
@@ -641,7 +641,7 @@ static void guarantee_online_mems(const
* task has been modifying its cpuset.
*/
-void cpuset_update_task_memory_state()
+void cpuset_update_task_memory_state(void)
{
int my_cpusets_mem_gen;
struct task_struct *tsk = current;
---
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] cpuset: fix sparse warning
2006-01-22 20:04 [PATCH] cpuset: fix sparse warning Randy.Dunlap
@ 2006-01-23 7:02 ` Paul Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Paul Jackson @ 2006-01-23 7:02 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: akpm, linux-kernel
Randy wrote:
> fix sparse warning:
> ...
> +void cpuset_update_task_memory_state(void)
Acked-by: Paul Jackson <pj@sgi.com>
Thanks, Randy.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-23 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-22 20:04 [PATCH] cpuset: fix sparse warning Randy.Dunlap
2006-01-23 7:02 ` Paul Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).