Re: [PATCH v2] scripts/kernel-doc: optionally treat warnings as errors

2020-07-31 Thread Jonathan Corbet
On Tue, 28 Jul 2020 11:20:40 -0500 Pierre-Louis Bossart wrote: > he kbuild bot recently added the W=1 option, which triggered > documentation cleanups to squelch hundreds of kernel-doc warnings. > > To make sure new kernel contributions don't add regressions to > kernel-doc descriptors, this pat

[PATCH v2] scripts/kernel-doc: optionally treat warnings as errors

2020-07-28 Thread Pierre-Louis Bossart
The kbuild bot recently added the W=1 option, which triggered documentation cleanups to squelch hundreds of kernel-doc warnings. To make sure new kernel contributions don't add regressions to kernel-doc descriptors, this patch suggests an option to treat warnings as errors in CI/automated tests.