Thread (7 messages) 7 messages, 4 authors, 2012-02-29
DORMANTno replies

[PATCH] ARM: mx51: Fix build error due to missing include of <linux/bug.h>

From: Russell King - ARM Linux <hidden>
Date: 2012-02-29 00:06:09

On Tue, Feb 28, 2012 at 06:52:45PM -0500, Paul Gortmaker wrote:
[Re: [PATCH] ARM: mx51: Fix build error due to missing include of <linux/bug.h>] On 28/02/2012 (Tue 13:21) Russell King - ARM Linux wrote:

[...]
quoted
The answer is not to start scattering lots of .c files with linux/bug.h
includes, but to fix linux/kernel.h.
Hi Russell,

I understand your concerns, and had I found myself "buggering" lots
of .c files, I would have backed away and said to myself, "OK, this
really isn't going to work - we really can't do this."

But to put some metrics to it, after building for about 10 different
arch and all their defconfigs, I only had to change about twenty[1] of
the approximately sixteen thousand .c files in the kernel.
I think there's more than that - I've seen two reports for other
files which have needed fixing so far, and I wouldn't be surprised if
there's more.

I guess we'll see in coming weeks how it pans out, but my gut feeling
is that this is going to cause a fair number of build problems.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help