Skip to content

Commit

Permalink
docs: conf.py: Ignore __counted_by attribute
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Kees Cook authored and Jonathan Corbet committed Dec 15, 2023
1 parent a3a2782 commit eeddfa5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def have_command(cmd):
"__weak",
"noinline",
"__fix_address",
"__counted_by",

# include/linux/memblock.h:
"__init_memblock",
Expand Down

0 comments on commit eeddfa5

Please sign in to comment.