From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: pj@sgi.com, akpm <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] cpuset: fix sparse warning
Date: Sun, 22 Jan 2006 12:04:57 -0800 [thread overview]
Message-ID: <20060122120457.0b6a14c1.rdunlap@xenotime.net> (raw)
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;
---
next reply other threads:[~2006-01-22 20:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-22 20:04 Randy.Dunlap [this message]
2006-01-23 7:02 ` Paul Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060122120457.0b6a14c1.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pj@sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®