Skip to content

Commit 5479d6d

Browse files
menglongdongJonathan Corbet
authored andcommitted
docs/conf.py: add function attribute '__fix_address' to conf.py
Stephen Rothwell reported htmldocs warning when merging net-next: Documentation/networking/kapi:26: net/core/skbuff.c:780: WARNING: Error in declarator or parameters Invalid C declaration: Expecting "(" in parameters. [error at 19] void __fix_address kfree_skb_reason (struct sk_buff *skb, enum skb_drop_reason reason) -------------------^ Add __fix_address keyword to c_id_attributes array in conf.py to fix the warning. Link: https://lore.kernel.org/linux-next/[email protected]/ Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Menglong Dong <[email protected]> Tested-by: Bagas Sanjaya <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 465d0eb commit 5479d6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
"__used",
8787
"__weak",
8888
"noinline",
89+
"__fix_address",
8990

9091
# include/linux/memblock.h:
9192
"__init_memblock",

0 commit comments

Comments
 (0)