docs: kdoc: use self.entry.parameterlist directly in check_sections()
authorJonathan Corbet <corbet@lwn.net>
Wed, 2 Jul 2025 17:12:27 +0000 (11:12 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 15 Jul 2025 19:43:16 +0000 (13:43 -0600)
commitefacdf85135ae02a8c25452e40547b773bb1b6b3
treedce3c6959e995ade83d63f3297b2ee0897ef8211
parent172bee3376ab29fbf38b09bf01d6f06f7f6c39e1
docs: kdoc: use self.entry.parameterlist directly in check_sections()

Callers of check_sections() join parameterlist into a single string, which
is then immediately split back into the original list.  Rather than do all
that, just use parameterlist directly in check_sections().

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/lib/kdoc/kdoc_parser.py