diff options
author | Menglong Dong <imagedong@tencent.com> | 2022-08-26 18:01:50 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2022-08-27 00:47:13 +0200 |
commit | 5479d6d4bf122d4b137659559a7bd17784b97b7e (patch) | |
tree | c64e9617c35af9aa0484e192a92df1f5298d47de /Documentation/conf.py | |
parent | Docs/admin-guide/mm/damon/usage: fix the example code snip (diff) | |
download | linux-5479d6d4bf122d4b137659559a7bd17784b97b7e.tar.xz linux-5479d6d4bf122d4b137659559a7bd17784b97b7e.zip |
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: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Menglong Dong <imagedong@tencent.com>
Tested-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r-- | Documentation/conf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py index 934727e23e0e..255384d094bf 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -86,6 +86,7 @@ if major >= 3: "__used", "__weak", "noinline", + "__fix_address", # include/linux/memblock.h: "__init_memblock", |