Received: by 10.192.165.148 with SMTP id m20csp778375imm; Wed, 2 May 2018 08:40:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6s/wob6T/7jsBuR5Oy63rHWpW1i8rCK4jzEXcL6PFZIyOGOIZMWUa+lWfJuDFrwgnX4hl X-Received: by 2002:a63:a54f:: with SMTP id r15-v6mr17074602pgu.236.1525275608472; Wed, 02 May 2018 08:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525275608; cv=none; d=google.com; s=arc-20160816; b=ZcXZlNVLgplO7ZJupr9yNDp2HYHPE+EZqpN0KvilV695+tq/Diap14ve3uCFTMAxPa xPIR8F0Jmbcr9IgZnhAgKWcOjv89A/Wv37KIRmLumIGDgMvIyB+MBPdmAMWwguv7iQFJ QbG+meuNHFEY/jl5spVcBfC7020wKbvsdcrttfD5GnkiyaNTEVTewLI8P/L1/LA1s2TK V0Lh2qWKGKSbo5dT4m9floYG4/Y+TLvsenRHljfmRRaLnRdetMznPxMOQ0WNrprmRdbX 3SrKyHHuaTFTuKtMUhb+sAURHbDTMLKsg0mfAURWrWJLj5fhYMXO0gX9sG3dVIxcBga3 IRAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:arc-authentication-results; bh=JbvSpFs/D8AgX3/YkyyW7lIYqhC8jzEYtJocC0OYXis=; b=LUlWohGp+H7l+QQ3tNs4gIh9U/FTZ4eMVEIcytipc8XIcLWq4VaEOn2OHzQWqe6QLs wBm4puz11BDXZKMMUIlq+Zdmpj59SnWXdxucSBR8K0MrZqzeFU51C2wjkmPwlvQVyn/H PbSAnykTlGXJSwOdgIhQ9Nx4yD46acdNOiEkNyXB94Nt5GDbj1OUhwVtlYfK2QCNNFZA CmW1DPfL6PbKZUbRTftoGS2rn2eLrY928zLtKrpazL112jylHoL+0js/8CNV1wo95nos TLEEHIfsNh8EuzTJRcYDpASxS34N/VGdzP2tImTTVbx54vVvToqw+VNJy7YF41UMFoxj lHjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10-v6si11470966pll.425.2018.05.02.08.39.54; Wed, 02 May 2018 08:40:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751903AbeEBPj0 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 2 May 2018 11:39:26 -0400 Received: from mail.fireflyinternet.com ([109.228.58.192]:64273 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751171AbeEBPjS (ORCPT ); Wed, 2 May 2018 11:39:18 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 11572517-1500050 for multiple; Wed, 02 May 2018 16:39:18 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Matthias Kaehlcke , "Jani Nikula" , "Rodrigo Vivi" , "David Airlie" From: Chris Wilson In-Reply-To: <152525436760.32109.17749926643981003077@mail.alporthouse.com> Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Guenter Roeck" , "Matthias Kaehlcke" References: <20180501182440.70121-1-mka@chromium.org> <152525436760.32109.17749926643981003077@mail.alporthouse.com> Message-ID: <152527554986.28472.11238909533010607091@mail.alporthouse.com> User-Agent: alot/0.3.6 Subject: Re: [PATCH v3] drm/i915: Disable some extra clang warnings Date: Wed, 02 May 2018 16:39:09 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Chris Wilson (2018-05-02 10:46:07) > Quoting Matthias Kaehlcke (2018-05-01 19:24:40) > > Commit 39bf4de89ff7 ("drm/i915: Add -Wall -Wextra to our build, set > > warnings to full") enabled extra warnings for i915 to spot possible > > bugs in new code, and then disabled a subset of these warnings to keep > > the current code building without warnings (with gcc). Enabling the > > extra warnings also enabled some additional clang-only warnings, as a > > result building i915 with clang currently is extremely noisy. For now > > also disable the clang warnings sign-compare, sometimes-uninitialized, > > unneeded-internal-declaration and initializer-overrides. If desired > > they can be re-enabled after the code has been fixed. > > > > Signed-off-by: Matthias Kaehlcke > Reviewed-by: Chris Wilson I've picked this for inclusion and will push shortly. Thanks for the patch, -Chris