2020-09-04 15:25:26

by Changbin Du

[permalink] [raw]
Subject: [PATCH] kcsan: kconfig: Move to menu 'Generic Kernel Debugging Instruments'

This moves the KCSAN kconfig items under menu 'Generic Kernel Debugging
Instruments' where UBSAN resides.

Signed-off-by: Changbin Du <[email protected]>
---
lib/Kconfig.debug | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index e068c3c7189a..0c781f912f9f 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -520,8 +520,8 @@ config DEBUG_FS_ALLOW_NONE
endchoice

source "lib/Kconfig.kgdb"
-
source "lib/Kconfig.ubsan"
+source "lib/Kconfig.kcsan"

endmenu

@@ -1620,8 +1620,6 @@ config PROVIDE_OHCI1394_DMA_INIT

source "samples/Kconfig"

-source "lib/Kconfig.kcsan"
-
config ARCH_HAS_DEVMEM_IS_ALLOWED
bool

--
2.25.1


2020-09-06 02:50:50

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] kcsan: kconfig: Move to menu 'Generic Kernel Debugging Instruments'

On 9/4/20 8:22 AM, Changbin Du wrote:
> This moves the KCSAN kconfig items under menu 'Generic Kernel Debugging
> Instruments' where UBSAN resides.
>
> Signed-off-by: Changbin Du <[email protected]>

LGTM. Thanks.

Reviewed-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>

> ---
> lib/Kconfig.debug | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> index e068c3c7189a..0c781f912f9f 100644
> --- a/lib/Kconfig.debug
> +++ b/lib/Kconfig.debug
> @@ -520,8 +520,8 @@ config DEBUG_FS_ALLOW_NONE
> endchoice
>
> source "lib/Kconfig.kgdb"
> -
> source "lib/Kconfig.ubsan"
> +source "lib/Kconfig.kcsan"
>
> endmenu
>
> @@ -1620,8 +1620,6 @@ config PROVIDE_OHCI1394_DMA_INIT
>
> source "samples/Kconfig"
>
> -source "lib/Kconfig.kcsan"
> -
> config ARCH_HAS_DEVMEM_IS_ALLOWED
> bool
>
>

--
~Randy