From nobody Mon Feb 9 08:49:41 2026 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A84CF1CF8B for ; Tue, 26 Mar 2024 17:31:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711474307; cv=none; b=iL2u6oJu9O3ywXukazxSg6oTZNzZHrmCwZSt181iXH6jbG9yJ4Bay5VKypgYmnHITf5P9Voj0MJUGXV090WTmXFzRmjL/9RjeT+39fpSDEVi/0NYYGTH4xzqjPZcHpVcAe2P5Wbh5vAvoqTJ/89CCL7VcVn2fBwQ2/uJNQOqxZE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711474307; c=relaxed/simple; bh=bq4YNkziyQcZmvz2N637u5vOHPJJEnrP824rDyNrXGE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=UTu4HRoRMqthkx4MSmgIHDMekJjjQTEGStS7OZTK2XWGRjQlzmqfUDdtq+K0mcTKO5cItD2fqLe4m39a4GKJ+0RMd4JU7SY/ofbo73/oaQzukp0yAFvUIPgcJxp6OAiKstaXemAWXf9t1V/SYl8mdmpfxuz2orm78uVXTpfRWX0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:76d0:2bff:fec8:549]) by baptiste.telenet-ops.be with bizsmtp id 3VXj2C00C0SSLxL01VXjoL; Tue, 26 Mar 2024 18:31:45 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rpAds-0053lR-Fw; Tue, 26 Mar 2024 18:31:43 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rpAeF-001ZND-9j; Tue, 26 Mar 2024 18:31:43 +0100 From: Geert Uytterhoeven To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Hamza Mahfooz , Jani Nikula , Javier Martinez Canillas Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] drm: DRM_WERROR should depend on DRM Date: Tue, 26 Mar 2024 18:31:41 +0100 Message-ID: <631a1f4c066181b54617bfe2f38b0bd0ac865b68.1711474200.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID: <20240326173141.RgxjnNW4hKq_fTiQ3UrHbbliEG5gjLojHMwdB3kRM3c@z> Content-Type: text/plain; charset="utf-8" There is no point in asking the user about enforcing the DRM compiler warning policy when configuring a kernel without DRM support. Fixes: f89632a9e5fa6c47 ("drm: Add CONFIG_DRM_WERROR") Signed-off-by: Geert Uytterhoeven Reviewed-by: Jani Nikula --- drivers/gpu/drm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index f2bcf5504aa77679..2e1b23ccf30423a9 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -423,7 +423,7 @@ config DRM_PRIVACY_SCREEN =20 config DRM_WERROR bool "Compile the drm subsystem with warnings as errors" - depends on EXPERT + depends on DRM && EXPERT default n help A kernel build should not cause any compiler warnings, and this --=20 2.34.1