Skip to content

Commit de1701c

Browse files
W-M-Rxiaoxiang781216
authored andcommitted
mm/kconfig: Remove unnecessary dependencies
If MM_KASAN judgment already exists Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
1 parent 8eabad5 commit de1701c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mm/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ endchoice
284284

285285
config MM_KASAN_ALL
286286
bool "Enable KASan for the entire image"
287-
depends on MM_KASAN
288287
default y
289288
---help---
290289
This option activates address sanitizer for the entire image.
@@ -311,7 +310,6 @@ config MM_KASAN_DISABLE_NULL_POINTER_CHECK
311310

312311
config MM_KASAN_DISABLE_READS_CHECK
313312
bool "Disable reads check"
314-
depends on MM_KASAN
315313
default n
316314
---help---
317315
This option disable kasan reads check. It speeds up performance
@@ -321,7 +319,6 @@ config MM_KASAN_DISABLE_READS_CHECK
321319

322320
config MM_KASAN_DISABLE_WRITES_CHECK
323321
bool "Disable writes check"
324-
depends on MM_KASAN
325322
default n
326323
---help---
327324
This option disable kasan writes check.
@@ -361,7 +358,6 @@ config MM_KASAN_DISABLE_READ_PANIC
361358

362359
config MM_KASAN_DISABLE_WRITE_PANIC
363360
bool "Disable panic on kasan write error"
364-
depends on MM_KASAN
365361
default n
366362
---help---
367363
This option disable panic on kasan write error. It will print error info

0 commit comments

Comments
 (0)