Re: kbuild: separate kerneldoc warnings from compiler warnings

From: Joe Perches
Date: Sun Jun 21 2020 - 15:13:26 EST


On Sat, 2020-06-20 at 14:52 -0400, Valdis KlÄtnieks wrote:
> This patch introduces a new build flag 'K=1' which controls whether kerneldoc
> warnings should be issued, separating them from the compiler warnings that W=
> controls.
[]
> diff --git a/Makefile b/Makefile
[]
> @@ -1605,6 +1605,7 @@ PHONY += help
> @echo ' (sparse by default)'
> @echo ' make C=2 [targets] Force check of all c source with $$CHECK'
> @echo ' make RECORDMCOUNT_WARN=1 [targets] Warn about ignored mcount sections'
> + @echo ' make K=1 [targets] Warn about problems in kerneldoc comments'

Seems sensible. Thanks.