Re: [PATCH 2/5] Kconfig: consolidate the "Kernel hacking menu"

From: Masahiro Yamada
Date: Thu Jul 05 2018 - 01:41:26 EST


2018-07-02 23:47 GMT+09:00 Christoph Hellwig <hch@xxxxxx>:
> Move the source of lib/Kconfig.debug and arch/$(ARCH)/Kconfig.debug to
> the top-level Kconfig. For two architectures that means moving their
> arch-specific symbols in that menu into a new arch Kconfig.debug file,
> and for a few more creating a dummy file so that we can include it
> unconditionally.
>
> Also move the actual 'Kernel hacking' menu to lib/Kconfig.debug, where
> it belongs.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---




> diff --git a/arch/c6x/Kconfig.debug b/arch/c6x/Kconfig.debug
> new file mode 100644
> index 000000000000..49edf08813eb
> --- /dev/null
> +++ b/arch/c6x/Kconfig.debug
> @@ -0,0 +1,11 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
> +config ACCESS_CHECK
> + bool "Check the user pointer address"
> + default y
> + help
> + Usually the pointer transfer from user space is checked to see if its
> + address is in the kernel space.
> +
> + Say N here to disable that check to improve the performance.
> +

Just a nit:

When I ran 'git am', it complained about a blank line at the end of file.

.git/rebase-apply/patch:229: new blank line at EOF.






--
Best Regards
Masahiro Yamada