Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp254132lqo; Thu, 16 May 2024 05:37:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZpWMVPVmlLhXXRhsFkhbF6TKVPZFeH+cpvpV8z4PYn398atZm/FA5jbAduP00bGz4aFcMJichGMYFki469tRCmz0o6vInl1Md1SZErw== X-Google-Smtp-Source: AGHT+IGB5ZD6Qn00deP6yZXo89Wu3cdU1ry4ew7rKLcJ9wvQXP4VK/FDZbCi0Ob63q8rwBPcTDOG X-Received: by 2002:a05:620a:171e:b0:792:c708:601c with SMTP id af79cd13be357-792c75ffa9emr2622284885a.57.1715863051505; Thu, 16 May 2024 05:37:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715863051; cv=pass; d=google.com; s=arc-20160816; b=YSISWk9ra1n/k+sqSjRjMYxJCCxE9Y04ei+Rv63xg9GEspV7NQxBd6bnQdeVgIR2rk s74zCSeJDl0C9B8vHV7DdZQUtgsxdyc+KPM6hJpXtQxx0uzDCmhxVWk97L8APc71YOvT 9vhOvDbFl0y3epSymF7J9pNX6bSEtclm27YQW1zUcd2ivzvYQH/So77USXRiFoAO8bH+ maWoclQen1UhqJYXmBRIcg1CGZhxPd8TicAX5yC07JUn6bkxhfpnflfHqR/elT56+94p WuOpTMM5VYjImtqFAjOcXpCbALZQtOE3U9VhxVlPqw+dh1e6MHOgT9bnBe2chIOz3hgl PXvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=r04OWwAV6eA+faXUNBmKwuom7bvhLBgHLac87pt1QOQ=; fh=+IOL/o9VPO2Vz5xj/iBlgck3HqqAMCf0KW4sUtIUYps=; b=FGvz4yV3ibW2JA7+RXNd/xFMwTAC/ltkrK6qf3vs80H/ozAZtMmVOZreE20tHWu2GQ YjtwknxkeclBcJ8p5tFP7HoJIa6npdHZcZ74LrjgB4D09kGSEzn0OHAkHqpKP68wCN/j GN0duwuIIq/II+BE14FI3ZBpHk2Zd31apRM4CdJouuLJdrwE8JQBls/VXgR79iLyab9x PpWK03dB27D3iYu4hdf0Exsz9956I+shVc7ZDTKBbIKn7WNDyrTpvzXGcZ9jIGZzbQG/ ImHhtADDEolvWkAdeY3mQFhbhRgBdkpCYKyj985m+KoMsAltYNnyECx68ptxX8j5W22U olTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hw0gb46n; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-181040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf30b6ddsi1589107385a.234.2024.05.16.05.37.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 05:37:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hw0gb46n; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-181040-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181040-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 96D2A1C20BCA for ; Thu, 16 May 2024 12:37:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0C59145B3F; Thu, 16 May 2024 12:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="hw0gb46n" Received: from out-171.mta1.migadu.com (out-171.mta1.migadu.com [95.215.58.171]) (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 AA9B53A1B7 for ; Thu, 16 May 2024 12:37:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715863022; cv=none; b=e+V+PZpLfM63m3/BkfqAhQ1eFzz7xGBOdHLgcRjYp0qpKGlzBUZT9vTW2CGB97MZHMsOiQOCECq2pmF6DWeT6Tc3/VORoRHqZ2DWRZwYJd7woMbJBGhIvndZZqyR7/bUjPbrPjJ6jLyC15GPbTOY9asaIp2sj+ULjLZ3pARuZJY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715863022; c=relaxed/simple; bh=lUIqlFYuN29mBhVFPrstHhiZnHcJHsxCoyUlbxGON78=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=svM0QRq7OL/LRc96RdD0m0DWns/T4CVISi1f+nmMKZPDf4yTkweS0OHggHZfLHqDg9te+1PevKIxU2YhG5E153++1dwmzXnFZ0bBD+ToVgfPh8QSAYFHOfRxjcS50VVBXojg5kuM7EoEsIxxfGKvG8WEEcvJtBEvthE6lQAJLfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=hw0gb46n; arc=none smtp.client-ip=95.215.58.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: jani.nikula@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1715863018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r04OWwAV6eA+faXUNBmKwuom7bvhLBgHLac87pt1QOQ=; b=hw0gb46ny2v+HvV7NXffk9l8Afg9gqMvJ65EWd0CM8zOs2FoRESiyCSD3gj1HG8eVSBEWU xQaf6CykNbaZX4FIgHAmIqGC0mhfBHF1FPfL7jO3gRBYMSxQvWxkqzoGmm6nxcEEN4SdIY C0KEI2kIcAyi0vc3SR2SA6KnDaqAmLk= X-Envelope-To: dri-devel@lists.freedesktop.org X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: airlied@gmail.com X-Envelope-To: torvalds@linux-foundation.org Message-ID: Date: Thu, 16 May 2024 20:36:54 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: drm: have config DRM_WERROR depend on !WERROR To: Jani Nikula , dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, airlied@gmail.com, Linus Torvalds References: <20240516083343.1375687-1-jani.nikula@intel.com> Content-Language: en-US, en-AU X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sui Jingfeng In-Reply-To: <20240516083343.1375687-1-jani.nikula@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Hi, On 5/16/24 16:33, Jani Nikula wrote: > 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 Wow, you successfully get Linus's attention, haha. > --- > 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 -- Best regards Sui