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

Steve Kemp
2008-10-16T06:09:00Z

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.