3d3d6b847420 ("kbuild: LLVMLinux: Adapt warnings for compilation with clang")

From: Borislav Petkov
Date: Mon Jun 16 2014 - 09:08:10 EST


Hi,

the commit in $Subject breaks the purpose of the W= build to see
additional warnings.

With it, currently I get all that stuff disabled with gcc:

$ make V=1 W=1 fs/direct-io.o

...

gcc -Wp,-MD,... -Wno-sign-compare -Wno-missing-field-initializers
-Wno-unused-value -Wno-format -Wno-sign-compare -Wno-format-zero-length
-Wno-uninitialized ...

which is clearly wrong. If I'm building with W=1, I *explicitly* *want*
those additional warnings enabled, not disabled.

Please fix this to have effect only for clang but not for the rest of
the universe.

Thanks.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/