mirror of
https://github.com/torvalds/linux.git
synced 2026-10-23 23:51:02 +02:00
kernel-doc fails to parse struct declarations wrapped in
context_lock_struct(), e.g. struct debugfs_cancellation:
include/linux/debugfs.h:245 ... error: Cannot parse struct or union!
Add a struct transform that expands context_lock_struct() to a plain
struct declaration, and apply the struct transforms to the whole
declaration before split_struct_proto(), matching what dump_var() and
dump_function() already do for their prototypes. The member-only
transform in dump_struct() is then redundant.
Add a regression test for the debugfs_cancellation declaration.
Fixes:
|
||
|---|---|---|
| .. | ||
| abi | ||
| feat | ||
| kdoc | ||
| __init__.py | ||
| jobserver.py | ||
| unittest_helper.py | ||