Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp858603pxb; Tue, 14 Sep 2021 10:12:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+691gkoocWiymC0i9/Ya2EkAul9B17As1CkONCHpbmxPHb9OeV4xVQJWoDMVi8SS3bm3h X-Received: by 2002:a05:6602:2c07:: with SMTP id w7mr14429687iov.122.1631639523183; Tue, 14 Sep 2021 10:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631639523; cv=none; d=google.com; s=arc-20160816; b=oi2tYXlrm4xBPQgLSvfSw8cnq9CM1kGQDWqqkoiQ2qQ5HBA6MViZ85uwmPYekRkWFe nT4BovKqV4GY+e9epPM1gX4AdNZLMjHEtDiZ4N7Rv+Jye6x4U7WoSAQ/ijgETk8yRLp0 3lAIVMMoeAQQ0Z9t536uDjdDux0VkGbwbE5nzd8nTL2UtE/LQGm1CwQXP3dTV+h5h1U9 uyp9lYFFxuvtr2TmgTeMXr11rYymnmO7+GUMxuniJLdwlZaF3wQKG3ZH4gpys6RDSbd/ 7zp7UuDXjHQYEzzbEmYmNhsDDlh9FPMSHBs4mQNs1uFC9w5FhN6CWWkkCK0XmoaRk4Fl cIpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from; bh=11lHiTaYi7vjyhXZ6njM+gB9JPteQ01By29VZEgu/aY=; b=GdN5CNGa/q52cf4sCLaJKjp+ZZw+llLRSxqw9WJpcOwncDvW0Dt3UgjGEzTxvbqRyA Rq0MCk8Zgm5XLhatJQKv+rk8dERIwzPTh4A4W0KjqadeE1aBN+OlE95cfG869sFFOJQE gWcrM9++YUFHKDWVFz3T4wZT1xNFv0vw+uRVKHkxJmT3B+aDmRgQkundz5dANaGV8Nrh hUMJrqPMISAVX4qXX4jD9NQSzBsmjeohvIrB9gtowjpaYLYvco3t1q3v00JUc9elm0IW QnDWxEBUa+tjrkNO8ndKzjfFP6EIlQ6JeSkZXHCwHoPKfxMLTGPa1UHB+WMaxe+r0bFB tJuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si10260054ior.13.2021.09.14.10.11.50; Tue, 14 Sep 2021 10:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbhINRLn (ORCPT + 99 others); Tue, 14 Sep 2021 13:11:43 -0400 Received: from mga17.intel.com ([192.55.52.151]:23848 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbhINRLl (ORCPT ); Tue, 14 Sep 2021 13:11:41 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="202248070" X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="202248070" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 10:10:22 -0700 X-IronPort-AV: E=Sophos;i="5.85,292,1624345200"; d="scan'208";a="544188720" Received: from lveltman-mobl.ger.corp.intel.com (HELO localhost) ([10.251.216.6]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 10:10:17 -0700 From: Jani Nikula To: Nathan Chancellor , Joonas Lahtinen , Rodrigo Vivi Cc: Jason Ekstrand , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , Matthew Auld , "Michael J. Ruhl" , Nick Desaulniers , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, llvm@lists.linux.dev Subject: Re: [PATCH 0/3] drm/i915: Enable -Wsometimes-uninitialized In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20210824225427.2065517-1-nathan@kernel.org> Date: Tue, 14 Sep 2021 20:10:14 +0300 Message-ID: <87wnnj13t5.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 13 Sep 2021, Nathan Chancellor wrote: > On Tue, Aug 24, 2021 at 03:54:24PM -0700, Nathan Chancellor wrote: >> Commit 46e2068081e9 ("drm/i915: Disable some extra clang warnings") >> disabled -Wsometimes-uninitialized as noisy but there have been a few >> fixes to clang that make the false positive rate fairly low so it should >> be enabled to help catch obvious mistakes. The first two patches fix >> revent instances of this warning then enables it for i915 like the rest >> of the tree. >> >> Cheers, >> Nathan >> >> Nathan Chancellor (3): >> drm/i915/selftests: Do not use import_obj uninitialized >> drm/i915/selftests: Always initialize err in >> igt_dmabuf_import_same_driver_lmem() >> drm/i915: Enable -Wsometimes-uninitialized >> >> drivers/gpu/drm/i915/Makefile | 1 - >> drivers/gpu/drm/i915/gem/selftests/i915_gem_dmabuf.c | 7 ++++--- >> 2 files changed, 4 insertions(+), 4 deletions(-) >> >> >> base-commit: fb43ebc83e069625cfeeb2490efc3ffa0013bfa4 >> -- >> 2.33.0 >> >> > > Ping, could this be picked up for an -rc as these are very clearly bugs? Thanks for the patches and review. Pushed to drm-intel-gt-next and cherry-picked to drm-intel-fixes, header to -rc2. BR, Jani. -- Jani Nikula, Intel Open Source Graphics Center