Re: [RFC PATCH] kbuild: implement several W= levels

From: Sam Ravnborg
Date: Thu Apr 21 2011 - 21:28:47 EST


> Just started looking at the patch.
> I tested it and -Wnested-externs is causing a *lot* of noise, because of
> the nested extern â_NSIG_WORDS_is_unsupported_sizeâ in
> include/linux/signal.h, which gets included a lot.
> So, unless that changes, I think that it shouldn't be enabled for W=1.

It is just the same issue that pops up for each file.
It is easy to fix.

The ones that does not belong in W=1 is those that are triggered
by many different places in the kernel.

If they are triggered in a few .h files they look noisy, but
it is easy to fix.

Sam
--
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/