diff options
author | Jonathan Corbet <corbet@lwn.net> | 2025-07-02 14:53:32 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2025-07-15 13:43:30 -0600 |
commit | 636d4d9ec641025b98e8df4623a77ecc09026209 (patch) | |
tree | ebf8250b0a52219554bd361849a763a7c7e591ab /scripts/lib/kdoc/kdoc_files.py | |
parent | bd5628bf60abd6f283d1fd8bdcff45c272971c6b (diff) |
docs: kdoc: clean up check_sections()
entry.sectcheck is just a duplicate of our list of sections that is only
passed to check_sections(); its main purpose seems to be to avoid checking
the special named sections. Rework check_sections() to not use that field
(which is then deleted), tocheck for the known sections directly, and
tighten up the logic in general.
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions