Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CABD5C44536 for ; Thu, 22 Jan 2026 02:11:48 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EABC810E272; Thu, 22 Jan 2026 02:11:47 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=collabora.com header.i=deborah.brouwer@collabora.com header.b="amcZoNO4"; dkim-atps=neutral Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) by gabe.freedesktop.org (Postfix) with ESMTPS id A94AF10E272 for ; Thu, 22 Jan 2026 02:11:46 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1769047903; cv=none; d=zohomail.com; s=zohoarc; b=ncOmHeNwR9WO2RKzfXvT4+ZDddd2LEVJ5qh7R85vtLoP90jYmZ9i0D5PXuSAvQdfmoB/cKSUtUOSro6YAD39XJbIBE3r1JwdD+39z/YTVYvF/y0wZumkoLgRHVkbmgLMLhq6GR8eBpLv7eFw+vYBwLFv/3whsWZiBVqr3oLqpsY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769047903; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=IZoDNO1tUhowBC/Wb25mkcmJiP2cen+Vd6UQb65epvU=; b=ZiaXm31ar1ZH5jiGwTlSF7hFj1W2iWH9U5aGit9IagxPE5v3tbSYk6La5JigZhUGvkDVYBcacFeX4PGO+QyXKNADIXwQHEhcsYTM+vREpGnQuYsGEdFnX8wzgsrpqYTrZVJqe8nwI0mQeotmIMLabLizVke5J9M/ubmw+3vWVOo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=deborah.brouwer@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1769047903; s=zohomail; d=collabora.com; i=deborah.brouwer@collabora.com; h=Date:Date:From:From:To:To:Cc:Cc:Subject:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To:Message-Id:Reply-To; bh=IZoDNO1tUhowBC/Wb25mkcmJiP2cen+Vd6UQb65epvU=; b=amcZoNO4Hrtx0l/ld3w8zFM68PPjnTOprmE0QLxoQeTHSiPuiNVBWqnQ5DcZcYCS ghEREg18NsvNyakh2T+NFQpnzEm2D2pcedZ8dUblkNsIuWtzZ5bSwrSOQqM/p9Ubv62 mEYbOpWlVXFUhyC7VN3xizdfqfhIJKsFnevzcDos= Received: by mx.zohomail.com with SMTPS id 1769047901905718.0624885472727; Wed, 21 Jan 2026 18:11:41 -0800 (PST) Date: Wed, 21 Jan 2026 18:11:40 -0800 From: Deborah Brouwer To: Miguel Ojeda Cc: dri-devel@lists.freedesktop.org, rust-for-linux@vger.kernel.org, daniel.almeida@collabora.com, aliceryhl@google.com, boris.brezillon@collabora.com, broonie@kernel.org, dakr@kernel.org Subject: Re: [PATCH] drm/tyr: suppress unread field warnings Message-ID: References: <20260122003746.405370-1-deborah.brouwer@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Jan 22, 2026 at 01:58:40AM +0100, Miguel Ojeda wrote: > On Thu, Jan 22, 2026 at 1:38 AM Deborah Brouwer > wrote: > > > > Currently these warnings, as errors, are preventing Tyr driver > > from building: > > From what I understand, this is only reproducible with Rust 1.80.0 > (unsupported upstream), and was fixed in Rust 1.80.1. Did you > reproduce it elsewhere? I asked Mark where his toolchain comes to see > what could be done there (e.g. in his distribution). Yes, I have the error with 1.91.0 rustc --version --verbose rustc 1.91.0 (f8297e351 2025-10-28) binary: rustc commit-hash: f8297e351a40c1439a467bbbb6879088047f50b3 commit-date: 2025-10-28 host: x86_64-unknown-linux-gnu release: 1.91.0 LLVM version: 21.1.2 bindgen --version bindgen 0.72.1 > > If it is just in Rust 1.80.0, and if a distribution still uses that > one, and for some reason they don't want to use/backport the fix in > 1.80.1, then we could consider something more global, i.e. ignoring > that lint altogether for that version, since it also fails for another > trait in `bounded.rs` (that is why I knew about this). > > (By the way, in any case, we would need a proper explanation of this > full context in the commit message.) > > Thanks! > > Cheers, > Miguel