linux/tools/lib/python
Mauro Carvalho Chehab 12aa7753ff docs: kdoc: ensure that comments are dropped before calling split_struct_proto()
Changeset 2b957decdb6c ("docs: kdoc: don't add broken comments inside prototypes")
revealed a hidden bug at split_struct_proto(): some comments there may break
its capability of properly identifying a struct.

Fixing it is as simple as stripping comments before calling it.

Fixes: 2b957decdb6c ("docs: kdoc: don't add broken comments inside prototypes")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <dcff37b6da5329aea415de31f543b6a1c2cbbbce.1773770483.git.mchehab+huawei@kernel.org>
2026-03-22 15:02:29 -06:00
..
abi docs: kabi: helpers: add documentation for each "enum" value 2026-01-23 11:37:39 -07:00
feat docs: parse_features: make documentation more consistent 2026-01-23 11:37:39 -07:00
kdoc docs: kdoc: ensure that comments are dropped before calling split_struct_proto() 2026-03-22 15:02:29 -06:00
__init__.py
jobserver.py jobserver: Fix typo in docstring 2026-03-17 08:43:39 -06:00
unittest_helper.py docs: python: add helpers to run unit tests 2026-03-22 15:02:29 -06:00