Re: [PATCH v2] compiler.h: Include <linux/bug.h> to avoid build breakagewith ARRAY_SIZE()

From: Paul Gortmaker
Date: Fri Mar 02 2012 - 09:22:21 EST


On 12-03-01 10:13 PM, Fabio Estevam wrote:
> On Thu, Mar 1, 2012 at 11:49 PM, Paul Gortmaker
> <paul.gortmaker@xxxxxxxxxxxxx> wrote:
>
>> Thanks, but no.
>>
>> You missed the whole point of my previous comments -- that being
>> that we don't want to just jam headers into always-used headers.
>
> Yes, it is not clear for me how to fix this build error. I got
> different feedbacks from you, Russell and Sam.

Understood, there was some discussion there. Anyways it is already
dealt with in yesterday's linux-next tree, so you won't have the
build failure anymore.

Thanks,
Paul.

>
>> The compiler.h is going to be an "always used" header. So if we
>> can avoid stuffing it full of extra crap, we need to really try.
>
> So let me ask you: how do you want me to fix the build error I am seeing?
--
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/