On Fri, Sep 13, 2019 at 3:12 PM Joe Perches <joe(a)perches.com> wrote:
On Thu, 2019-09-12 at 13:01 -0700, Bart Van Assche wrote:
> Another argument in favor of W=1 is that the formatting of kernel-doc
> headers is checked only if W=1 is passed to make.
Actually, but for the fact there are far too many
to generally enable that warning right now,
(an x86-64 defconfig has more than 1000)
that sounds pretty reasonable to me.
It's in the 1000s on arm because W=1 turns on more checks in building
.dts files. There are lots of duplicates as most of the dts content is
as an include file (e.g. board dts includes soc dts).
We could shift the dts checks to W=2 (and what's enabled by W=2 now to
3) I guess.
Why not just promote what doesn't give false or still noisy warnings
out of W=1 to be the default?