2023-07-27 12:19:52

by kernel test robot

[permalink] [raw]
Subject: [tip:x86/shstk 6/42] htmldocs: Warning: arch/x86/Kconfig references a file that doesn't exist: Documentation/x86/shstk.rst

tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/shstk
head: c19a153cc0b172c8e1869d6dee52f6aadd73d3c4
commit: 18e66b695e787374ca762ecdeaa1ab5e3772af94 [6/42] x86/shstk: Add Kconfig option for shadow stack
reproduce: (https://download.01.org/0day-ci/archive/20230727/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> Warning: arch/x86/Kconfig references a file that doesn't exist: Documentation/x86/shstk.rst

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


2023-07-29 01:39:19

by Edgecombe, Rick P

[permalink] [raw]
Subject: Re: [tip:x86/shstk 6/42] htmldocs: Warning: arch/x86/Kconfig references a file that doesn't exist: Documentation/x86/shstk.rst

On Thu, 2023-07-27 at 19:55 +0800, kernel test robot wrote:
> tree:  
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/shstk
> head:   c19a153cc0b172c8e1869d6dee52f6aadd73d3c4
> commit: 18e66b695e787374ca762ecdeaa1ab5e3772af94 [6/42] x86/shstk:
> Add Kconfig option for shadow stack
> reproduce:
> (https://download.01.org/0day-ci/archive/20230727/202307271956.IxoG9X
> [email protected]/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new
> version of
> the same patch/commit), kindly add following tags
> > Reported-by: kernel test robot <[email protected]>
> > Closes:
> > https://lore.kernel.org/oe-kbuild-all/[email protected]/
>
> All warnings (new ones prefixed by >>):
>
> > > Warning: arch/x86/Kconfig references a file that doesn't exist:
> > > Documentation/x86/shstk.rst

Looks like the x86 documentation moved, and it just needs this:

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index e860f805199f..99e7552fff4f 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1969,7 +1969,7 @@ config X86_USER_SHADOW_STACK

CPUs supporting shadow stacks were first released in 2020.

- See Documentation/x86/shstk.rst for more information.
+ See Documentation/arch/x86/shstk.rst for more information.

If unsure, say N.


Dave, would you like a proper patch for it?