linux/tools/lib/python
Mauro Carvalho Chehab d5265f7af2 docs: kdoc: properly handle empty enum arguments
Depending on how the enum proto is written, a comma at the end
may incorrectly make kernel-doc parse an arg like " ".

Strip spaces before checking if arg is empty.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Message-ID: <4182bfb7e5f5b4bbaf05cee1bede691e56247eaf.1773074166.git.mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <640784283d52c5fc52ea597344ecd567e2fb6e22.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: properly handle empty enum arguments 2026-03-22 15:02:29 -06:00
__init__.py docs: bring some order to our Python module hierarchy 2025-11-18 09:22:40 -07:00
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