Re: [PATCH] include/linux/posix_acl.h: need 'return NULL' when BUG(),if neither CONFIG_BUG nor HAVE_ARCH_BUG is defined.

From: Chen Gang
Date: Mon May 20 2013 - 21:53:02 EST

On 05/21/2013 12:31 AM, Russell King - ARM Linux wrote:
> On Mon, May 20, 2013 at 07:40:24AM -0700, Eric W. Biederman wrote:
>> Seriously? The correct fix it would seem is to give a useful default BUG
>> definition. Say *NULL.
> Absolutely.
> The real question is... how is this happening. I've seen it occasionally
> in the randconfig builds - though I don't have any logs to hand which
> show that in the build system at the moment. So, looking at the files:

Maybe it is my fault for the incorrect configuration.

My operation:
make EXTRA_CFLAGS=-W ARCH=arm randconfig
make EXTRA_CFLAGS=-W ARCH=arm menuconfig
set 'arm-linux-gnu-' as cross compiler prefix.
select "MMU-based Paged Memory" in "System Type".
select "Samsung S5PV210/S5PC110" in "ARM System type"

In menuconfig, I do not touch the "S5PV210 Machines" or "S5PC110
Machines" in "System Type", and no machines will be chosen as default.

I think, it may be my fault, or need provide a default machine for S5P*
with randconfig (also better to select MMU automatically).

Chen Gang

Asianux Corporation
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at