kunit: configs: Enable CONFIG_INIT_STACK_ALL_PATTERN in all_tests
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 11 Apr 2025 09:59:04 +0000 (10:59 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 14 Apr 2025 16:02:37 +0000 (10:02 -0600)
commita571a9a1b120264e24b41eddf1ac5140131bfa84
tree7a403f26fe12cd380abd5f7cd5bad8aa855b7436
parent8ffd015db85fea3e15a77027fda6c02ced4d2444
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/20250411095904.1593224-1-rf@opensource.cirrus.com
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/configs/all_tests.config