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

From: Edgecombe, Rick P
Date: Fri Jul 28 2023 - 19:26:07 EST


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
> 0c-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
> > Closes:
> > https://lore.kernel.org/oe-kbuild-all/202307271956.IxoG9X0c-lkp@xxxxxxxxx/
>
> 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?