From nobody Sat Feb 7 17:09:41 2026 Received: from imap5.colo.codethink.co.uk (imap5.colo.codethink.co.uk [78.40.148.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0665C36920F for ; Mon, 12 Jan 2026 17:29:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.40.148.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768238965; cv=none; b=bcCsR/VKKNg9RVnhO/A6UYjJgxs8Jgu+vELdGVR0iTF8m6zkvuVI51TDlr3nQpNuxk1W1Dzyyfml5P+j1crwR1Odz6IhAi2mA+4F31FjyONygPjg224YKnWz/nE1TEGgX48c8I9JiUb4MTU76lpB26Uip5EzjPlVV7oVqvZYXDw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768238965; c=relaxed/simple; bh=nqnvpL4sLVlsZ+IgUEwCCTLIc8mItsFcSKq9/i9FbVs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=I82nFFqSDCNVDKiIdZMYcPJb1jjfjTxEsfLqecZXi+IHeBu89i7IC6vGuh35au3A5sVVm9YAn3EGsYBg508kde8x6Q8qSUdXqserCUpnrhWbXWW8k/IrN8TYJjLGAYCKpqZTSbW5M5HoLx/yefDMNKH3juLwrTisegqtbQ9iHBk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=codethink.co.uk; spf=pass smtp.mailfrom=codethink.com; dkim=pass (2048-bit key) header.d=codethink.co.uk header.i=@codethink.co.uk header.b=2V/5Tk/f; arc=none smtp.client-ip=78.40.148.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=codethink.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=codethink.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=codethink.co.uk header.i=@codethink.co.uk header.b="2V/5Tk/f" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codethink.co.uk; s=imap5-20230908; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:In-Reply-To: References; bh=5qJ6ivCKl/Kqdt6u8K1Xgabi4HyljP4OKKRgzU3wYws=; b=2V/5Tk/fOM/Zq+ ZhKEm/mLUweA9SZYhrKAT683oLz/ZZcJjaT5bvOnYbDCApM3Imn4/7h/CCB5SlcMmHvDDoe6+krqY vMJc1H6HcHWzgDRPoxBz8bKv0EBMh/0BmlRH75+rPO2zmQBvYsV7Un+AC9eYy/8TozFooDCGcWAy7 6TfAJSYiuudNSzhvb/8rNk2oLHxfXTx5MPBEV2NnyAs1XTwqT1u6iv+Cdm6x9Sd1CiWDX2nYjN6SR jHzCQNnIX4oDm087jDGo1jXrhymkuAn8ukcWRnAx+jJvmvxY12Es34s7/Cb3GQZ550d2ChGoXlsSp xDXNniN8u/VihE9YQSrA==; Received: from [167.98.27.226] (helo=rainbowdash) by imap5.colo.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1vfLjC-0032Ht-Da; Mon, 12 Jan 2026 17:29:18 +0000 Received: from ben by rainbowdash with local (Exim 4.99.1) (envelope-from ) id 1vfLjC-00000002YPy-0e0Z; Mon, 12 Jan 2026 17:29:18 +0000 From: Ben Dooks To: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: simona@ffwll.ch, airlied@gmail.com, tzimmermann@suse.de, mripard@kernel.org, maarten.lankhorst@linux.intel.com, matt.coster@imgtec.com, frank.binns@imgtec.com, Ben Dooks Subject: [PATCH] drm/imagination: don't include pvr_rogue_fwif_check.h under sparse Date: Mon, 12 Jan 2026 17:29:16 +0000 Message-Id: <20260112172916.608949-1-ben.dooks@codethink.co.uk> X-Mailer: git-send-email 2.37.2.352.g3c44437643 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: srv_ts003@codethink.com Content-Type: text/plain; charset="utf-8" The checks in pvr_rogue_fwif_check.h trigger issues with sparse as it may not decide to deal with structure definitions the same way as the kernel. There is nothing in pvr_rogue_fwif_check.h that needs to be checked by sparse, so skip it to reduce the number of failed asserts from sparse: drivers/gpu/drm/imagination/pvr_rogue_fwif_check.h:487:1: error: static ass= ertion failed: "struct rogue_fwif_hwrtdata is incorrect size" Signed-off-by: Ben Dooks --- drivers/gpu/drm/imagination/pvr_rogue_fwif.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/imagination/pvr_rogue_fwif.h b/drivers/gpu/drm= /imagination/pvr_rogue_fwif.h index 172886be4c82..1e4a74705e2f 100644 --- a/drivers/gpu/drm/imagination/pvr_rogue_fwif.h +++ b/drivers/gpu/drm/imagination/pvr_rogue_fwif.h @@ -2183,6 +2183,8 @@ struct rogue_fwif_hwrtdata { #define PVR_SYNC_CHECKPOINT_SIGNALED 0x519 /* Checkpoint has signaled. */ #define PVR_SYNC_CHECKPOINT_ERRORED 0xeff /* Checkpoint has been errore= d. */ =20 +#ifndef __CHECKER__ #include "pvr_rogue_fwif_check.h" +#endif =20 #endif /* PVR_ROGUE_FWIF_H */ --=20 2.37.2.352.g3c44437643