mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ksoftirqd & kswapd returning nothing while non-void
@ 2003-10-02 16:59 Petri Koistinen
  2003-10-02 17:31 ` Vincent Hanquez
  0 siblings, 1 reply; 2+ messages in thread
From: Petri Koistinen @ 2003-10-02 16:59 UTC (permalink / raw)
  To: linux-kernel

Hi!

I just compiled latest 2.6.0-test kernel and noticed these two warnings:

kernel/softirq.c: In function `ksoftirqd':
kernel/softirq.c:352: warning: no return statement in function returning non-void

mm/vmscan.c: In function `kswapd':
mm/vmscan.c:1045: warning: no return statement in function returning non-void

Is here something that should be worried about?

Best regards,
Petri Koistinen

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

* Re: ksoftirqd & kswapd returning nothing while non-void
  2003-10-02 16:59 ksoftirqd & kswapd returning nothing while non-void Petri Koistinen
@ 2003-10-02 17:31 ` Vincent Hanquez
  0 siblings, 0 replies; 2+ messages in thread
From: Vincent Hanquez @ 2003-10-02 17:31 UTC (permalink / raw)
  To: Petri Koistinen; +Cc: linux-kernel

On Thu, Oct 02, 2003 at 07:59:20PM +0300, Petri Koistinen wrote:
> Hi!
> 
> I just compiled latest 2.6.0-test kernel and noticed these two warnings:
> [snip]
> 
> Is here something that should be worried about?

kswapd and ksoftirqd are daemons which never returns (loop forever).
to squeeze the warnings it may be good to set a fake return statement;

-- 
Tab

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

end of thread, other threads:[~2003-10-02 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02 16:59 ksoftirqd & kswapd returning nothing while non-void Petri Koistinen
2003-10-02 17:31 ` Vincent Hanquez

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®