[PATCH net-next] docs/conf.py: add function attribute '__fix_address' to conf.py
From: menglong8 . dong
Date: Fri Aug 26 2022 - 02:19:24 EST
From: Menglong Dong <imagedong@xxxxxxxxxxx>
Stephen Rothwell report that the function attribute '__fix_address'
causes a warning when create html docs with the command:
make htmldocs
Therefor, add this attribute to c_id_attributes in Documentation/conf.py
to clean this warning.
BTW, I'm not able to reproduce this warning (both ubuntu and centos are
tested). I will appreciate it if anyone can have a test for this
commit.
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Menglong Dong <imagedong@xxxxxxxxxxx>
---
Documentation/conf.py | 1 +
1 file changed, 1 insertion(+)
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",
--
2.37.2