History

docs: kdoc_parser: add support for LIST_HEAD

Convert LIST_HEAD into struct list_head when handling its prototype.

Mauro Carvalho Chehab committed 8 months ago

Commit 9bff5121 parent 6d9c2e91 file · +1 −0Browse files

Showing the changes to tools/lib/python (1 of 1 file). Show all

Unified · Split

tools/lib/python/kdoc/kdoc_parser.py+1−0
@@ -198,6 +198,7 @@ function_xforms = [ · 197 unmodified lines
198var_xforms = [198var_xforms = [
199 (KernRe(r"__read_mostly"), ""),199 (KernRe(r"__read_mostly"), ""),
200 (KernRe(r"__ro_after_init"), ""),200 (KernRe(r"__ro_after_init"), ""),
201 (KernRe(r"LIST_HEAD\(([\w_]+)\)"), r"struct list_head \1"),
201 (KernRe(r"(?://.*)$"), ""),202 (KernRe(r"(?://.*)$"), ""),
202 (KernRe(r"(?:/\*.*\*/)"), ""),203 (KernRe(r"(?:/\*.*\*/)"), ""),
203 (KernRe(r";$"), ""),204 (KernRe(r";$"), ""),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t