From: Alan Cox <alan@linux.jf.intel.com>
To: mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: [PATCH] kernel: fix silly warning
Date: Tue, 24 May 2011 12:35:20 +0100 [thread overview]
Message-ID: <20110524113517.18864.78312.stgit@localhost.localdomain> (raw)
() should be (void)
Signed-off-by: Alan Cox <alan@linux.intel.com>
---
kernel/watchdog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 6e63097..7daa4b0 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -98,7 +98,7 @@ __setup("nosoftlockup", nosoftlockup_setup);
* the thresholds with a factor: we make the soft threshold twice the amount of
* time the hard threshold is.
*/
-static int get_softlockup_thresh()
+static int get_softlockup_thresh(void)
{
return watchdog_thresh * 2;
}
next reply other threads:[~2011-05-24 11:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-24 11:35 Alan Cox [this message]
2011-05-24 19:27 ` [PATCH] kernel: fix silly warning Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2011-05-24 11:35 Alan Cox
2011-05-24 11:34 Alan Cox
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=20110524113517.18864.78312.stgit@localhost.localdomain \
--to=alan@linux.jf.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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