Re: [PATCH] scripts/find-unused-docs: Fix massive false positives
From: Jonathan Corbet
Date: Mon Jan 27 2020 - 16:26:45 EST
On Mon, 27 Jan 2020 10:31:07 +0100
Geert Uytterhoeven <geert+renesas@xxxxxxxxx> wrote:
> scripts/find-unused-docs.sh invokes scripts/kernel-doc to find out if a
> source file contains kerneldoc or not.
>
> However, as it passes the no longer supported "-text" option to
> scripts/kernel-doc, the latter prints out its help text, causing all
> files to be considered containing kerneldoc.
>
> Get rid of these false positives by removing the no longer supported
> "-text" option from the scripts/kernel-doc invocation.
>
> Fixes: b05142675310d2ac ("scripts: kernel-doc: get rid of unused output formats")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Sigh, I guess I should have tried that script before telling people to use
it. Thanks for the fix; I've applied it with a CC: stable tag.
jon