Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp745476rwd; Thu, 25 May 2023 03:23:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7AdEnRFhuCa7Jh+258vCQGSuYmZz6tPVW+Os6FAoulxcvQPrTtTePk2vdGfVevygFVEl0o X-Received: by 2002:a17:903:245:b0:1ab:d6f:51b0 with SMTP id j5-20020a170903024500b001ab0d6f51b0mr1161360plh.18.1685010208820; Thu, 25 May 2023 03:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685010208; cv=none; d=google.com; s=arc-20160816; b=WQwE3oE0D2VN9xxOi8tsLNn1eim6pw2qfqhNwp6VXN4No4UocshmRlO88DMBap1QWn wRKYkL3aufislVp9JWXoNJEWrwK2At9ft7B2iR7PSTdeT9wCxXae/uVG8DhdiIiSDiA2 aXtI4MQCi15CC77QUkBojuNw1LFwtb8r3NXZzwYji7tOZfRWNrwBaokYbY8zpqWnv4lc l2kPtOqN9YuPXXqaiaUq0ChyXZGnpNNn9ARbfD8SJU7CVDf3+GmFWo75oPc9v/QQeoLS 8FjPGHiEk3N0H97A5KJMDkLD0rmToJDdijRR1NzZ7HP4qiNThspBGz4Qg5chXVZkN55A luaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GTCv05NKX7fYVfcWA9mF9yBEXPLxaqPCHQmLNCv1ZJQ=; b=zvfsyGlDTaPxXzlbHgFzZyKiEOQG1gmygBf7f/69rly64DfzBDxy35WbY0URSIkDma fRq/VFG+B3ED3gcfXY6IxePlD3Pi7F64+xvB/y5FV8mn7FzutSaRnP7C8CPfdDynXkBo VDPgCBszN5fpZZEW2eeWGQiWuJQL1wnUAacStW7OcryS8ONKNZ8tM7OfiUdoKA/1nHFP ZRCYj0VErzImo28cNvIyoHdBHAyPlgsP0pJBjEfrRsfafCgcOT5+gLDdbKfWiyBlQljf bebID1g6Jk1lcaeDDvz2XvvhROEIw5EdE5Nn57d2fG6ykQ1rYCxNGQC7ojqwxWI/Vwzw S9ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="TJQ/U68W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e10-20020a17090301ca00b001ac815f653asi1224200plh.348.2023.05.25.03.23.13; Thu, 25 May 2023 03:23:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="TJQ/U68W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240535AbjEYJnV (ORCPT + 99 others); Thu, 25 May 2023 05:43:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240455AbjEYJnU (ORCPT ); Thu, 25 May 2023 05:43:20 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0A27191 for ; Thu, 25 May 2023 02:43:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GTCv05NKX7fYVfcWA9mF9yBEXPLxaqPCHQmLNCv1ZJQ=; b=TJQ/U68WU/s2VYiJ/03J7kmoh+ YblMToMJpjlLY+OOjtRXYhlbHukydmw3PUftGnI27aU1oJMzLVXvU3OYxSMvMHmhEtzU0tY9KhA/K mMDtIgHzw0Us/B5mctq1KmB0zDiCzIW8QQl2oo8eWAlFZnvsVmRgQWnbRpEkwzys0xhzTWdTEzcsR CJ/kw8rEjWcpI1k4GxbDPAuQDGGSTcR62w2b3jTFlXr+17TQyG7fVzVmJ5ur1bFaa/RL0UA8MRnYC 8KZaYVgF8Fb5kNlHNEvEHQ8QlrrZM88RmzzNDbkzeYR6tJsKXJ0twKVQXskmpLGw6kXepWjIlJFX4 UWb9YshA==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q27V6-00GBCU-2n; Thu, 25 May 2023 09:43:16 +0000 Date: Thu, 25 May 2023 02:43:16 -0700 From: Christoph Hellwig To: Hamza Mahfooz Cc: amd-gfx@lists.freedesktop.org, Alex Deucher , Harry Wentland , Kenny Ho , Leo Li , Rodrigo Siqueira , Christian =?iso-8859-1?Q?K=F6nig?= , "Pan, Xinhui" , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drm/amd/display: enable more strict compile checks Message-ID: References: <20230524191955.252212-1-hamza.mahfooz@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230524191955.252212-1-hamza.mahfooz@amd.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +subdir-ccflags-y += -Werror -Wunused -Wmisleading-indentation We have a config option for -Werror. Blindly adding this will create problems with too new (or sometimes too old, or just too weird) compilers all the time. Don't do this.