docs: kdoc: some final touches for process_name()
authorJonathan Corbet <corbet@lwn.net>
Fri, 6 Jun 2025 16:34:38 +0000 (10:34 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 9 Jun 2025 20:37:17 +0000 (14:37 -0600)
commit8666a352dc1738f6302382d9d64611a44978d369
treef5eecc592df78dbb2820b243480dfcd79888363c
parent0682bde2c7f44320c621b765f31a0cf24e01b23f
docs: kdoc: some final touches for process_name()

Add some comments to process_name() to cover its broad phases of operation,
and slightly restructure the if/then/else structure to remove some early
returns.

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