Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp970615pxb; Tue, 14 Sep 2021 12:55:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWQePyjPAjLoSlnp9/HYJFTi9AF1vrdDfH22452/57akHMqiaH6tHPcCwueoP/e6wJI3da X-Received: by 2002:a5d:8f91:: with SMTP id l17mr15072089iol.121.1631649327094; Tue, 14 Sep 2021 12:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631649327; cv=none; d=google.com; s=arc-20160816; b=qUF3MdWJVEYWaENr/uaL60i4kr+nkO3edezXoeclsNphObXnzzQmM+BSqLXiIzHRXS SuuukwUO32RH9XVy5w70RNx66+uRQUBQMznljqssjpsZbvRSkhXEjFm2rA6C4/LzEUt9 eVMtsFUxD/o8zZf4PGrx4wgSWvURng7ShROBcRK1PpSPk6uV5LrmKdoIuwBVNewaPPpL XMHqemI16PTm0ob1hP5mw3EluJ6KE8ChcnH12ogGE4eBCr/IxlNkmvgzdYa7szPLTVBr nD0BNyoiF0TMlhlrFCvM4MovvfpliZFdz/gWV38muuSNrXTgpoSHOL4hBgualWJfN1h1 LHFg== 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=XR4goFr11TpHKocFPAG75Zp4IUxQ5WCg8dAJS8c1qoc=; b=dovnidhVKnMud/PnQDW+s64Py1fRgavTdIjfliGFWJIspb8/LNKY71a1BbGQxKdnF5 hCUilz4dEWdN00uo13bE5jOsaBqS8jFIf7XKkFGtxOyCxTVn+2S/2LdyqW6T+r8ZNwwF fyXJ8Sc9eMBAhYjSBdBeLG6Azg70aZu5Zld/fbdO1+8B2Isb0qCHeB9ujPdbQBjGgHDq Rj+lrR3/vNTlEbQktMMS2N3FcxqHJDCMHxUIDaBBA7GIuSp/KcaNm6QUy/DKAjDQ6Po/ 9hADzH+G3olu7vNubG3ZmBVrYFhikeKaG8g03P+m8HtTb+lIi/iyZcgv6UARoP1TVgzS /9NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J5M0TLTr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d6si8576448ios.63.2021.09.14.12.55.14; Tue, 14 Sep 2021 12:55:27 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J5M0TLTr; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232840AbhINTy4 (ORCPT + 99 others); Tue, 14 Sep 2021 15:54:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:58452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbhINTyz (ORCPT ); Tue, 14 Sep 2021 15:54:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3760161108; Tue, 14 Sep 2021 19:53:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631649218; bh=th9TFOXsR06Xg/2ttcv1rjgy5eK+72XXt8aYRu+bByo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=J5M0TLTr0U8YWN17ZphgSgOsr2LkfGc/XojytM3rF1QIuC2MWJk+hTrgoPUij63Tf ZbK1iGOjiaztEHrnL5vad2ePLBAKUcN1kbiRKDdllueg705sx3t9CQPF/dksuWcCpF zlj9V/fW3WAvq5nZxn6+YWn1IPxkJ4ru23CZmt8YAU/PZ03YdtlWMiMmoghpuNkSeh S4NZsiBS+u+8Wx1VRDVaVJMazZM2ZRgiyu6L77M8++T3suP5qVHK3rnjA5DQCkChLN 18yNPa2S3CWiv3K22BWh1xIG6nTmWleS/yUu/XLKdD/bCeditfV4GkDlflsqU1n3KB /VfLJbmib9UcA== Date: Tue, 14 Sep 2021 12:53:31 -0700 From: Nathan Chancellor To: Jani Nikula Cc: Joonas Lahtinen , Rodrigo Vivi , Jason Ekstrand , Thomas =?iso-8859-1?Q?Hellstr=F6m?= , 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 Message-ID: References: <20210824225427.2065517-1-nathan@kernel.org> <87wnnj13t5.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87wnnj13t5.fsf@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 08:10:14PM +0300, Jani Nikula wrote: > 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. Thanks a lot! Cheers, Nathan