default or selected kernelversion does not have config value CONFIG_HEADERS_CHECK.
Result is shown for kernelversion 6.9.9
Run 'make headers_check' when building vmlinux
configname: CONFIG_HEADERS_CHECK
Linux Kernel Configuration
└─>Kernel hacking
└─>Compile-time checks and compiler options
└─>Run 'make headers_check' when building vmlinux
In linux kernel since version 2.6.19 (release Date: 2006-11-29)
This option will extract the user-visible kernel headers whenever
building the kernel, and will run basic sanity checks on them to
ensure that exported files do not attempt to include files which
were not exported, etc.
If you're making modifications to header files which are
relevant for userspace, say 'Y', and check the headers
exported to $(INSTALL_HDR_PATH) (usually 'usr/include' in
your build tree), to make sure they're suitable.
building the kernel, and will run basic sanity checks on them to
ensure that exported files do not attempt to include files which
were not exported, etc.
If you're making modifications to header files which are
relevant for userspace, say 'Y', and check the headers
exported to $(INSTALL_HDR_PATH) (usually 'usr/include' in
your build tree), to make sure they're suitable.