Re: [REVIEW for merge] kbuild updates including silence of section mismatch check

Sam Ravnborg
2008-02-06T20:58:18Z

On Tue, Feb 05, 2008 at 11:38:49AM +0100, Geert Uytterhoeven wrote:
> On Sat, 2 Feb 2008, Sam Ravnborg wrote:
> > The most visible change is that I have made all the section mismatch
> > go away and in the end of the build modpost report the number
> > of section mismatch warnings and how to see detail.
> >
> > The typical output is now:
> >
> > modpost: Found 35 section mismatch(es).
> > To see full details build your kernel with:
> > 'make CONFIG_DEBUG_SECTION_MISMATCH=y'
>
> Can we get a `warning' string literal in that message, so I notice it when
> grepping for compiler warnings?
>
> ... Ah, there already exists a warn() routine, so let's use it.
>
> Subject: modpost: Use warn() for announcing section mismatches

Fair enough. Applied.

Sam