From d47e94ee5842166fa9b91e7affdeaa8dc4cfcd39 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Mon, 10 Jul 2023 12:19:47 +0200 Subject: pkg/vcs: properly disable lockdep We also need to disable CONFIG_PROVE_LOCKING, which forces CONFIG_LOCKDEP to be enabled. --- pkg/vcs/linux_configs_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/vcs/linux_configs_test.go') diff --git a/pkg/vcs/linux_configs_test.go b/pkg/vcs/linux_configs_test.go index 6ea95645f..378714174 100644 --- a/pkg/vcs/linux_configs_test.go +++ b/pkg/vcs/linux_configs_test.go @@ -47,7 +47,7 @@ func TestDropLinuxSanitizerConfigs(t *testing.T) { name: "lockdep", types: []crash.Type{crash.LockdepBug}, test: func(t *testing.T, cf *kconfig.ConfigFile) { - assertConfigs(t, cf, "LOCKDEP") + assertConfigs(t, cf, "LOCKDEP", "PROVE_LOCKING") }, }, { @@ -68,6 +68,7 @@ CONFIG_LOCKDEP=y CONFIG_RCU_STALL_COMMON=y CONFIG_UBSAN=y CONFIG_DEBUG_ATOMIC_SLEEP=y +CONFIG_PROVE_LOCKING=y ` for _, test := range tests { test := test -- cgit mrf-deployment