summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-04-08 18:09:08 +0800
committerJonathan Corbet <corbet@lwn.net>2025-04-09 12:10:32 -0600
commit3592385668c3a32638a84557df999d7146cc3bb6 (patch)
tree7f6f36d3921c8e68f66835e113e2e7f34a1a9a52 /scripts/lib/kdoc/kdoc_re.py
parent0a4e24128f4c0e1d83ebc7f79812c16f1e3fc9e0 (diff)
scripts/kernel-doc.py: better handle empty sections
While doing the conversion, we opted to skip empty sections (description, return), but this makes harder to see the differences between kernel-doc (Perl) and kernel-doc.py. Also, the logic doesn't always work properly. So, change the way this is done by adding an extra step to remove such sections, doing it only for Return and Description. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/1b057092a48ba61d92a411f4f6d505b802913785.1744106241.git.mchehab+huawei@kernel.org
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions