Re: [PATCH] kbuild: Allow to combine multiple W= levels

Sam Ravnborg
2011-05-02T17:07:38Z

On Tue, May 03, 2011 at 12:16:15AM +0800, Américo Wang wrote:
> On Fri, Apr 29, 2011 at 9:31 PM, Michal Marek <mmarek@suse.cz> wrote:
> > Add support for make W=12, make W=123 and so on, to enable warnings from
> > multiple W= levels. Normally, make W=<level> does not include warnings
> > from the previous level.
> >
>
> This interface is not friendly, at least not as normal as we often see.
> W=x+1 is supposed to include warnings of W=x.
>
> Please refine the interface.

Until we see that several people have had benefit if W=...
we should leave it as is now.

Then when people really start to use if we can refine it.

IMO it is much more important to find the right sub-set
of warnings to keep on W=1 level than how we see additional warnings.

There may well be warnings where we say that the benefit of it is
zero - or it is plain wrong in the kernel.
Lets try to focus on this.

Sam