Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3121578pxb; Tue, 24 Aug 2021 15:57:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFol5lQCngjEdR+VEOIGuPap9uTnuP6L0hpI+r5UMEsdyMB2CePTUGwIvDa2zzVgBXTLGG X-Received: by 2002:a5d:8484:: with SMTP id t4mr32164366iom.126.1629845828850; Tue, 24 Aug 2021 15:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629845828; cv=none; d=google.com; s=arc-20160816; b=RW4xQMXzDrgqxWk+U+zXOijk/VT2woOw0wkSqcmgTeKrmX+G3OsPoFMIQy/czgcmya GeQ4qHHK2kh8EQ12M5nLxTrfHpXnjRx1fhYArlENuMG370TEqL+bsrYtiWXZUm1RCxr7 qX+vJcvD//sJNAhDlCL76fF1sy5SWvB1A+bPimEywRve4u3IhNnHc4toa53KbHZ9uyNv 0jfsxt9+j8BlXnOyQq5lcaiYo2jPWqY4HxdCVZX4aOwYRffwQw2fI/YQWZyJS5kss2+f 3xiw2IDDhzYYDcn+kdW1GyhV0rgZYwIAM8vnRIGiKbW0+2hTx/fNirzYLNYHOI+SnQxR hiXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fjsFrH1ToTP3PJ6sz0mhtzRo9Zt9/V/qXs/mg0tq9oI=; b=dJuQKW0jPAncx7jj2d0t/H2zWYAkw3rvapkDGZKM9cOgtMkSKjlymxpZNHPxrphbPf HK5IfaXgJb4WaA9ivWekx3pt6X9lH5XZytr/GiSdiG1kbQXsG9qoqIlFG6YJ6A/xPPF3 C8cAQJQDU+cZymB2sKF00R98cX44ivKIZZ3KNN/MX+loahdMv3xPsX5Jlxhq8lfJRYfv S6pK1cHcvXX8uZjIBX2s9qeZgEJjZKkdq4DcoFBWtn7t52wUhNmQZG0DiJihSl0hIo9G 3DkB16u8qPb4l/nRLzcX85/F3FChpfk+Il/sWZzVvMKG49RC88s9BhdCyY9HvN4JtB8B JOnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=flB5TcWM; 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 b13si18275712ilq.35.2021.08.24.15.56.57; Tue, 24 Aug 2021 15:57:08 -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=flB5TcWM; 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 S231826AbhHXWz0 (ORCPT + 99 others); Tue, 24 Aug 2021 18:55:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:49038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229854AbhHXWz0 (ORCPT ); Tue, 24 Aug 2021 18:55:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C2BF861139; Tue, 24 Aug 2021 22:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629845681; bh=VRPyW1VeO7gfAN1WVH2HUQN9HNXvpNgT4uXN0dtpgSg=; h=From:To:Cc:Subject:Date:From; b=flB5TcWMNT76AKxh3XR22CrIVe8y0lorcQ+fmCHwlvsCWMEVcQfSoaPUhs+8NCd3s w3n5+bOLR393xOnucjv1GYNkNNyLzyt0Tvn3ywytxpMLxGssKqF51mFz+pQwl6khSn J/2ZWz5pS1Ny9jpFU/IS94ve1YYaJ3MW2ggL++ktqzgAl6F2s7Xkk1DFDm3ssrOcZ7 GAYAHHwG3Spard0hg/zFb3yOZuIJ3fhxZDHdulADHM7JXE5PsDXhxws+PTgpIFBQwz pokFrA+TYRhrdFRHJWih4350aovGhGvJB65V3RUJIoSUzco2ZsoqslXX93lpvE3VKX igBtg/5u03RCA== From: Nathan Chancellor To: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi Cc: Jason Ekstrand , =?UTF-8?q?Thomas=20Hellstr=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, Nathan Chancellor Subject: [PATCH 0/3] drm/i915: Enable -Wsometimes-uninitialized Date: Tue, 24 Aug 2021 15:54:24 -0700 Message-Id: <20210824225427.2065517-1-nathan@kernel.org> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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