public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* warning in 2.4.1pre10
@ 2001-01-24 23:44 J . A . Magallon
  2001-01-25  0:45 ` Peter Samuelson
  0 siblings, 1 reply; 4+ messages in thread
From: J . A . Magallon @ 2001-01-24 23:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: Justin T . Gibbs

In file included from /usr/src/linux/include/linux/raid/md.h:51,
                 from init/main.c:25:
/usr/src/linux/include/linux/raid/md_k.h: In function `pers_to_level':
/usr/src/linux/include/linux/raid/md_k.h:39: warning: control reaches end of
non-void function

It is harmless, 'cause the last sentence in the funtion is a panic, but it
is good to add the 'return 0', just to shut up the compiler.

The same happens in the aic7xxx drivers v 6.0.9b, file aic7xxx_linux.h, line
824.

-- 
J.A. Magallon                                                      $> cd pub
mailto:jamagallon@able.es                                          $> more beer

Linux werewolf 2.4.1-pre10 #4 SMP Wed Jan 24 00:20:15 CET 2001 i686

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2001-01-25  1:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-24 23:44 warning in 2.4.1pre10 J . A . Magallon
2001-01-25  0:45 ` Peter Samuelson
2001-01-25  0:58   ` J . A . Magallon
2001-01-25  1:33     ` Peter Samuelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox