Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp140452lqo; Thu, 16 May 2024 01:34:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUToA9TgWLm7vZCw27I0yv+f0aUE6PAvXwdKMno6h7OhHBFOsxcVG/GfzPmHFzhw5+cSMu5ZgIzbTX2UgX/d2WB5XPKq2Elmu2WeMCDQ== X-Google-Smtp-Source: AGHT+IG5IcKmZAKYd7VbLj0k3NX9DU+eKEphba6uY6k+8yGE92ODN4PJljayIHjThel51VfAy68W X-Received: by 2002:a17:907:2722:b0:a5c:e2ea:ba59 with SMTP id a640c23a62f3a-a5ce2eabb18mr92149766b.29.1715848457438; Thu, 16 May 2024 01:34:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715848457; cv=pass; d=google.com; s=arc-20160816; b=yuBZpX7kelray5U4V/SkKL0Nv4z2JsoPuqXd/Q6H+Lovb+Z2RcoLdXomFX6IFF8jqh EcWBLSVFE4DRYuLptcVs5J0pnqTUypcQ2SeKgCUplUe53J8MomkysXrfCuwrMDUyoM6w liFaR/yyqL/oFY528PJtS9AISNZA+aTov8wV3qa1PbJ+AE182M7H7eoy8ji6haiGLKgP vEqFcEwIIR/8ay2igB94HMVpsx6s6bTjpC9Vn+O8eeCfsCLjHsnDGRENMmxFNqqtjN8r OjFlQ4lvyYiHljtDCIvztc8dl/wiGMJTmv1D3YuXnbl2RBcbFOyd/uxXgp8eSfUC7MWp BnVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:organization:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=xYgsp3Up5oZC4jd0b7j7NZ39h18e/qwJKE8npIbNDaw=; fh=m2+jvy5xvqKFx24uaGyRbS7ZUPIjdKdFQQ76ziom2XM=; b=0Rzcrj7GD0hqUJn3uvi20Jw/VRBw7h/bpIyfWW+FmeTQY7pGNdJTMQWLY7PIMba3FH hFGRg04gwnfH84bzXl8Neu5jaDLDmYRTlOGHvI2U3AawVZCbGLnp1ZoyUD3rvf5Q1EHl xhZ0YJCs31iPE8B24AYRV3imCYwnf5sbCf3WpemqxCry3hsPOJLdMK3tRHA+8QHyl2rF 5pWqn0knmfZjPJvCl8tvbQ8NZgGk+A7V311giHv6uqQH8xev3iImj/3c2tGA6SSWfjOB 78JUY5SK4/qDZ6pB7nib/AfHsIUn1V/sJG3qHMwVIQUt8pHo02ZEGTQBYBrQGIp0JvL+ q2ZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HBPcHUMO; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-180775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17bbd65esi856381166b.698.2024.05.16.01.34.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 01:34:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HBPcHUMO; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-180775-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180775-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2D2AB1F21ADA for ; Thu, 16 May 2024 08:34:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94FE91411F1; Thu, 16 May 2024 08:34:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HBPcHUMO" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D6FC13E88C for ; Thu, 16 May 2024 08:34:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715848446; cv=none; b=qwDqEBlBfDL9XZU4L8DaUOfIG8fyZlP1nGiwZewFxsP6qD/dGiAiowahFt0aPi1agNTcKY51YXPRk2e2Kdg4iiloNMlAHHy0lPeK9Pz92PiTdwPNxQDTO+Lys7qSrorlQwp9Omt0w0OFTrHmcrdE1GVDBXiqBHLCvjjeQ3N/LjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715848446; c=relaxed/simple; bh=hIe/GV+SszjqFG9FGCcYxpExlFJkuc/XiXVVaFGHMwQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=f6/c3n40jzTZog/WrrI0klqRrufz9oA6jxVcXJDH6fj5vcUrI7NvbYpqzRPriJGpoQ7E7iOAbkr64EeQJMBV0ZrZNKeAEO8COeKDXAtnZtExKcgqjCXoaPvG2xDB3RT/yECs7YmdstpKTpYZNALebUk/WnV605DitsRafbbReGo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=HBPcHUMO; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1715848445; x=1747384445; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hIe/GV+SszjqFG9FGCcYxpExlFJkuc/XiXVVaFGHMwQ=; b=HBPcHUMOtS/0KsrzhcI6N/QfxIx/fm+BFvI8JSi7KSEyT4QLd6JfAfgr UGsKLAIBS228RHq1XwcsRzJ0zHz0f1fr1ZkHd302SEyiptPwGQdhpgl/M eKJbRdWrZ4C73M2QCD2hpj9rG2eOq4AdL/2U5/SbHGMtFQthRwhGHFqrZ JYdzNtpcEOg/z68rIWWQJzjaefS0JDQTAsR7/raMZDk6HRhT6C6mCAE2v rdV+Z4EE5FHeDHErr4AdDOGcr9iBjgCHPyqOad5VGDbyPh/GIPWl5GF/C twQ1LEOgzhh1uCGzKMupi4nrYskoqdMYn5vEj5dOVA2i1QOtClw1BnMf9 Q==; X-CSE-ConnectionGUID: a4PmO9vDSVmgzWe+fgKrRw== X-CSE-MsgGUID: u7lRcZWoRwO30DItI9GicQ== X-IronPort-AV: E=McAfee;i="6600,9927,11074"; a="23081689" X-IronPort-AV: E=Sophos;i="6.08,164,1712646000"; d="scan'208";a="23081689" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2024 01:34:04 -0700 X-CSE-ConnectionGUID: NNgXWuVAQfWrK5VFPenzMQ== X-CSE-MsgGUID: 5lfnjkIfQHWuizl9w2DZKg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,164,1712646000"; d="scan'208";a="35910641" Received: from fdefranc-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.246.208]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2024 01:34:01 -0700 From: Jani Nikula To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, airlied@gmail.com, Jani Nikula , Linus Torvalds Subject: [PATCH] drm: have config DRM_WERROR depend on !WERROR Date: Thu, 16 May 2024 11:33:43 +0300 Message-Id: <20240516083343.1375687-1-jani.nikula@intel.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Transfer-Encoding: 8bit If WERROR is already enabled, there's no point in enabling DRM_WERROR or asking users about it. Reported-by: Linus Torvalds Closes: https://lore.kernel.org/r/CAHk-=whxT8D_0j=bjtrvj-O=VEOjn6GW8GK4j2V+BiDUntZKAQ@mail.gmail.com Fixes: f89632a9e5fa ("drm: Add CONFIG_DRM_WERROR") Signed-off-by: Jani Nikula --- drivers/gpu/drm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 026444eeb5c6..d0aa277fc3bf 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -450,6 +450,7 @@ config DRM_PRIVACY_SCREEN config DRM_WERROR bool "Compile the drm subsystem with warnings as errors" depends on DRM && EXPERT + depends on !WERROR default n help A kernel build should not cause any compiler warnings, and this -- 2.39.2