Skip to content

docs: kdoc: fix TRACE_EVENT_FN and DOMAIN_NS parsing

Omokefe Emmanuel Onanaroghene linux-doc lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyIn review
  2. v21 patch 0 repliesSuperseded
  3. v11 patch 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2docs: kdoc: handle TRACE_EVENT_FN() family in tracepoint parsertools/lib/python/kdoc/kdoc_parser.py tools/unittests/test_kdoc_parser.py+45 -16 replies
2/2docs: kdoc: strip DOMAIN_NS() wrapper in function prototypestools/lib/python/kdoc/xforms_lists.py tools/unittests/test_kdoc_parser.py+28 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] docs: kdoc: fix TRACE_EVENT_FN and DOMAIN_NS parsing

This series fixes two kernel-doc parsing failures where the prototype was misidentified and parameters leaked into garbage:

- TRACE_EVENT_FN() family tracepoints (e.g. gpu_power_status)
- DOMAIN_NS() wrapped function names (e.g. iova_to_phys)

Rebased onto docs-next and stacked as a series per Jon's feedback to avoid both tests landing at the same spot in test_kdoc_parser.py.

Omokefe Emmanuel Onanaroghene (2):
docs: kdoc: handle TRACE_EVENT_FN() family in tracepoint parser
docs: kdoc: strip DOMAIN_NS() wrapper in function prototypes

 tools/lib/python/kdoc/kdoc_parser.py  | 18 +++++++++-
 tools/lib/python/kdoc/xforms_lists.py |  6 ++++
 tools/unittests/test_kdoc_parser.py   | 50 +++++++++++++++++++++++++++
 3 files changed, 73 insertions(+), 1 deletion(-)
Signature · 1 line
2.43.0