Commit 5479d6d4 authored by Menglong Dong's avatar Menglong Dong Committed by Jonathan Corbet

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/20220825154105.534d78ab@canb.auug.org.au/Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarMenglong Dong <imagedong@tencent.com>
Tested-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 465d0eb0
...@@ -86,6 +86,7 @@ if major >= 3: ...@@ -86,6 +86,7 @@ if major >= 3:
"__used", "__used",
"__weak", "__weak",
"noinline", "noinline",
"__fix_address",
# include/linux/memblock.h: # include/linux/memblock.h:
"__init_memblock", "__init_memblock",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment