Re: trivial patches: Should we care about control reaches end ofnon-void function

From: Steve Kemp
Date: Thu Oct 16 2008 - 02:09:01 EST


On Wed Oct 15, 2008 at 23:26:25 +0100, Alan Cox wrote:

> Probably better to mark BUG() properly for the compiler.

Good idea.

It seems this was attempted previously:

http://www.uwsg.iu.edu/hypermail/linux/kernel/0402.0/0843.html

The patch needs some updating to move it into the current location,
but passes a compile test at least.

Steve
--
Managed Anti-Spam Service
http://mail-scanning.com/

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