All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kernel: fix silly warning
@ 2011-05-24 11:35 Alan Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2011-05-24 11:35 UTC (permalink / raw)
  To: mingo, linux-kernel

() 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;
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] kernel: fix silly warning
  2011-05-24 11:35 Alan Cox
@ 2011-05-24 19:27 ` Ingo Molnar
  0 siblings, 0 replies; 4+ messages in thread
From: Ingo Molnar @ 2011-05-24 19:27 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel


* Alan Cox <alan@linux.jf.intel.com> wrote:

> () 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)

Yeah. This should already be fixed upstream, Linus pushed it out about 12 hours 
ago.

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] kernel: fix silly warning
@ 2011-05-24 11:35 Alan Cox
  2011-05-24 19:27 ` Ingo Molnar
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Cox @ 2011-05-24 11:35 UTC (permalink / raw)
  To: mingo, linux-kernel

() 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;
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] kernel: fix silly warning
@ 2011-05-24 11:34 Alan Cox
  0 siblings, 0 replies; 4+ messages in thread
From: Alan Cox @ 2011-05-24 11:34 UTC (permalink / raw)
  To: mingo, linux-kernel

() 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;
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-24 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 11:35 [PATCH] kernel: fix silly warning Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2011-05-24 11:35 Alan Cox
2011-05-24 19:27 ` Ingo Molnar
2011-05-24 11:34 Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.