Skip to content

Commit eeddfa5

Browse files
keesJonathan Corbet
authored andcommitted
docs: conf.py: Ignore __counted_by attribute
It seems that Sphinx is confused by the __counted_by attribute on struct members. Add it to the list of known attributes. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202312150614.kOx8xUkr-lkp@intel.com/ Cc: Jonathan Corbet <corbet@lwn.net> Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org> Cc: linux-doc@vger.kernel.org Cc: linux-hardening@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231215001347.work.151-kees@kernel.org
1 parent a3a2782 commit eeddfa5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Documentation/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def have_command(cmd):
106106
"__weak",
107107
"noinline",
108108
"__fix_address",
109+
"__counted_by",
109110

110111
# include/linux/memblock.h:
111112
"__init_memblock",

0 commit comments

Comments
 (0)