Skip to content

Commit

Permalink
docs/conf.py: add function attribute '__fix_address' to conf.py
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
menglongdong authored and Jonathan Corbet committed Aug 26, 2022
1 parent 465d0eb commit 5479d6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"__used",
"__weak",
"noinline",
"__fix_address",

# include/linux/memblock.h:
"__init_memblock",
Expand Down

0 comments on commit 5479d6d

Please sign in to comment.