docs/conf.py: add function attribute '__fix_address' to conf.py
PATCH v2 1/1 docs/conf.py: add function attribute '__fix_address' to conf.py
From: Menglong Dong <[email protected]>
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.
---
v2:
- optimize the commit log, as Bagas Sanjaya suggested.
--- Documentation/conf.py | 1 + 1 file changed, 1 insertion(+)
Documentation/conf.py +1 -0
@@ -86,6 +86,7 @@ if major >= 3: "__used", "__weak", "noinline", + "__fix_address", # include/linux/memblock.h: "__init_memblock",
Signature · 1 line
2.37.2
Quoted 11 lines · On Sat, 27 Aug 2022 00:01:50 +0800 [email protected] wrote:
From: Menglong Dong <[email protected]>
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_addresskfree_skb_reason(structsk_buff*skb, enumskb_drop_reasonreason) -------------------^Add
__fix_addresskeyword toc_id_attributesarray inconf.pyto fix the warning.
You'll need to CC netdev@ for the patch to get into the net-next tree. Since this is a pure Documentation/ patch get_maintainer.pl did not produce netdev@ in the recommended addresses.
Please wait for a review/ack from Jon before reposting, we need his permission to apply this patch.
Jonathan Corbet
maintainerQuoted 13 lines · Jakub Kicinski
Quoted 11 lines · On Sat, 27 Aug 2022 00:01:50 +0800 [email protected] wrote:
From: Menglong Dong <[email protected]>
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_addresskfree_skb_reason(structsk_buff*skb, enumskb_drop_reasonreason) -------------------^Add
__fix_addresskeyword toc_id_attributesarray inconf.pyto fix the warning.
Quoted 6 lines
You'll need to CC netdev@ for the patch to get into the net-next tree. Since this is a pure
Documentation/patch get_maintainer.pl did not produce netdev@ in the recommended addresses.Please wait for a review/ack from Jon before reposting, we need his permission to apply this patch.
I could also just carry it through docs; I'm about to send a set of fixes Linusward in any case. I wanted to run a couple of tests to be sure, but I don't expect any problems with it...
Thanks,
jon
Quoted 19 lines · Jonathan Corbet
Quoted 17 lines · Jakub Kicinski
Quoted 11 lines · On Sat, 27 Aug 2022 00:01:50 +0800 [email protected] wrote:
From: Menglong Dong <[email protected]>
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_addresskfree_skb_reason(structsk_buff*skb, enumskb_drop_reasonreason) -------------------^Add
__fix_addresskeyword toc_id_attributesarray inconf.pyto fix the warning.You'll need to CC netdev@ for the patch to get into the net-next tree. Since this is a pure
Documentation/patch get_maintainer.pl did not produce netdev@ in the recommended addresses.
Quoted 6 lines
Quoted 2 lines
Please wait for a review/ack from Jon before reposting, we need his permission to apply this patch.
I could also just carry it through docs; I'm about to send a set of fixes Linusward in any case. I wanted to run a couple of tests to be sure, but I don't expect any problems with it...
The patch is clearly correct, it can go in via whatever path seems most suitable. Let me know if you'd like me to push it; otherwise:
Thanks,
jon
Quoted 8 lines · On Fri, 26 Aug 2022 16:14:45 -0600 Jonathan Corbet wrote:
Quoted 7 lines · Jonathan Corbet
Quoted 6 lines
You'll need to CC netdev@ for the patch to get into the net-next tree. Since this is a pure
Documentation/patch get_maintainer.pl did not produce netdev@ in the recommended addresses.Please wait for a review/ack from Jon before reposting, we need his permission to apply this patch.
Quoted 8 lines
Quoted 3 lines
I could also just carry it through docs; I'm about to send a set of fixes Linusward in any case. I wanted to run a couple of tests to be sure, but I don't expect any problems with it...
The patch is clearly correct, it can go in via whatever path seems most suitable. Let me know if you'd like me to push it; otherwise:
Acked-by Jonathan Corbet <[email protected]>
Oh, if it can make it to Linus via the doc tree before the 6.1 merge window that's even better!
Jonathan Corbet
maintainerQuoted 13 lines · Jakub Kicinski
Quoted 12 lines · On Fri, 26 Aug 2022 16:14:45 -0600 Jonathan Corbet wrote:
Quoted 10 lines · Jonathan Corbet
Quoted 6 lines
You'll need to CC netdev@ for the patch to get into the net-next tree. Since this is a pure
Documentation/patch get_maintainer.pl did not produce netdev@ in the recommended addresses.Please wait for a review/ack from Jon before reposting, we need his permission to apply this patch.
I could also just carry it through docs; I'm about to send a set of fixes Linusward in any case. I wanted to run a couple of tests to be sure, but I don't expect any problems with it...
Quoted 7 lines
Quoted 4 lines
The patch is clearly correct, it can go in via whatever path seems most suitable. Let me know if you'd like me to push it; otherwise:
Acked-by Jonathan Corbet <[email protected]>Oh, if it can make it to Linus via the doc tree before the 6.1 merge window that's even better!
OK, I'll apply it and ship it, probably next week.
Thanks,
jon
Quoted 16 lines · Jonathan Corbet
Quoted 13 lines · Jakub Kicinski
Quoted 12 lines · On Fri, 26 Aug 2022 16:14:45 -0600 Jonathan Corbet wrote:
Quoted 10 lines · Jonathan Corbet
Quoted 6 lines
You'll need to CC netdev@ for the patch to get into the net-next tree. Since this is a pure
Documentation/patch get_maintainer.pl did not produce netdev@ in the recommended addresses.Please wait for a review/ack from Jon before reposting, we need his permission to apply this patch.
I could also just carry it through docs; I'm about to send a set of fixes Linusward in any case. I wanted to run a couple of tests to be sure, but I don't expect any problems with it...
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
The patch is clearly correct, it can go in via whatever path seems most suitable. Let me know if you'd like me to push it; otherwise:
Acked-by Jonathan Corbet <[email protected]>Oh, if it can make it to Linus via the doc tree before the 6.1 merge window that's even better!
Thanks to both of you! Seems I don't need to repost this patch with netdev@ CCed?
Menglong Dong
Quoted 5 lines
OK, I'll apply it and ship it, probably next week.
Thanks,
jon
Jonathan Corbet
maintainerQuoted 2 lines · Menglong Dong
Thanks to both of you! Seems I don't need to repost this patch with netdev@ CCed?
No need, it's all taken care of.
Thanks,
jon