From: Julian Braha Date: Mon, 23 Mar 2026 12:41:18 +0000 (+0000) Subject: drm: fix dead default for DRM_TTM_KUNIT_TEST X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df75430515c33ece3de46562f917acd9792505ad;p=thirdparty%2Flinux.git drm: fix dead default for DRM_TTM_KUNIT_TEST The DRM_TTM_KUNIT_TEST config option should default to KUNIT_ALL_TESTS so that if all tests are enabled then it is included, but currently the 'default KUNIT_ALL_TESTS' statement is shadowed by an unconditional 'default n', meaning that this second default statement is currently dead code. This dead code was found by kconfirm, a static analysis tool for Kconfig. Signed-off-by: Julian Braha Reviewed-by: Christian König Signed-off-by: Christian König Link: https://lore.kernel.org/r/20260323124118.1414913-1-julianbraha@gmail.com --- diff --git a/drivers/gpu/drm/Kconfig.debug b/drivers/gpu/drm/Kconfig.debug index 3b7886865335a..1f4c98cbf0906 100644 --- a/drivers/gpu/drm/Kconfig.debug +++ b/drivers/gpu/drm/Kconfig.debug @@ -85,7 +85,6 @@ config DRM_KUNIT_TEST config DRM_TTM_KUNIT_TEST tristate "KUnit tests for TTM" if !KUNIT_ALL_TESTS - default n depends on DRM && KUNIT && MMU && (UML || COMPILE_TEST) select DRM_TTM select DRM_BUDDY