mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 05:12:59 +01:00
kunit: configs: Enable CONFIG_INIT_STACK_ALL_PATTERN in all_tests
Enable CONFIG_INIT_STACK_ALL_PATTERN in all_tests.config. This helps to detect use of uninitialized local variables. This option found an uninitialized data bug in the cs_dsp test. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Richard Fitzgerald <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
This commit is contained in:
1 parent
8ffd015db8
commit
a571a9a1b1
1 file changed
+1
@@ -10,6 +10,7 @@ CONFIG_KUNIT_EXAMPLE_TEST=y
|
||||
CONFIG_KUNIT_ALL_TESTS=y
|
||||
|
||||
CONFIG_FORTIFY_SOURCE=y
|
||||
CONFIG_INIT_STACK_ALL_PATTERN=y
|
||||
|
||||
CONFIG_IIO=y
|
||||
|
||||
|
||||
Reference in new issue
Block a user