linux-stable/Documentation
Johannes Berg 56b0f453db kernel-doc: don't let V=1 change outcome
The kernel-doc script currently reports a number of issues
only in "verbose" mode, but that's initialized from V=1
(via KBUILD_VERBOSE), so if you use KDOC_WERROR=1 then
adding V=1 might actually break the build. This is rather
unexpected.

Change kernel-doc to not change its behaviour wrt. errors
(or warnings) when verbose mode is enabled, but rather add
separate warning flags (and -Wall) for it. Allow enabling
those flags via environment/make variables in the kernel's
build system for easier user use, but to not have to parse
them in the script itself.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2023-06-10 16:39:02 +09:00
..
2023-05-03 11:11:56 -07:00
2023-04-28 14:53:30 -07:00
2023-05-06 08:28:58 -07:00
2023-04-25 12:11:54 -07:00
2023-04-29 10:17:05 -07:00
2023-05-03 11:25:01 -07:00
2023-05-02 10:36:02 -07:00
2023-04-28 14:02:54 -07:00
2023-03-19 10:51:07 +00:00
2023-04-05 13:47:18 +00:00
2023-04-27 17:41:23 -07:00
2023-05-05 13:11:02 -07:00
2023-05-02 11:56:43 -07:00