]> git.baikalelectronics.ru Git - kernel.git/commit
docs/conf.py: add function attribute '__fix_address' to conf.py
authorMenglong Dong <imagedong@tencent.com>
Fri, 26 Aug 2022 16:01:50 +0000 (00:01 +0800)
committerJonathan Corbet <corbet@lwn.net>
Fri, 26 Aug 2022 22:47:13 +0000 (16:47 -0600)
commit42d924214bea51b6227e159e433003107441c9c5
treec64e9617c35af9aa0484e192a92df1f5298d47de
parentfaef489934642acfa18459736b48ff1a290014a7
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>
Documentation/conf.py