Re: Build regressions/improvements in v2.6.38-rc3

From: Arnaud Lacombe
Date: Wed Feb 02 2011 - 15:06:58 EST


Hi,

On Wed, Feb 2, 2011 at 9:49 AM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, Feb 02, 2011 at 03:05:16PM +0100, Geert Uytterhoeven wrote:
>
>>       src/drivers/regulator/wm831x-dcdc.c: warning: control reaches end of non-void function: 124 =>
>
> Either your compiler or architecture isn't noticing that BUG() can't
> return.
>
if CONFIG_BUG has been set to "n", it _will_ return. It could have
been made to trigger a crash, but it did not, on purpose.

- Arnaud
--
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/