From: Deborah Brouwer <deborah.brouwer@collabora.com>
To: Alice Ryhl <aliceryhl@google.com>
Cc: Mark Brown <broonie@kernel.org>,
Danilo Krummrich <dakr@kernel.org>,
Beata Michalska <beata.michalska@arm.com>,
Carsten Haitzler <carsten.haitzler@foss.arm.com>,
Rob Herring <robh@kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: build failure in the final build
Date: Wed, 21 Jan 2026 16:42:18 -0800 [thread overview]
Message-ID: <aXFyakDy3VSRw1NW@um790> (raw)
In-Reply-To: <aXElns7ZpGuZR6ke@google.com>
On Wed, Jan 21, 2026 at 07:14:38PM +0000, Alice Ryhl wrote:
> On Wed, Jan 21, 2026 at 05:14:15PM +0000, Mark Brown wrote:
> > Hi all,
> >
> > After the final merge today's linux-next build (arm64 allyesconfig)
> > failed like this, the same issue will be present in mainline:
> >
> > error: field `device` is never read
> > --> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:37:5
> > |
> > 36 | pub(crate) struct TyrDriver {
> > | --------- field in this struct
> > 37 | device: ARef<TyrDevice>,
> > | ^^^^^^
> > |
> > = note: `-D dead-code` implied by `-D warnings`
> > = help: to override `-D warnings` add `#[allow(dead_code)]`
> >
> > error: fields `mali` and `sram` are never read
> > --> /tmp/next/build/drivers/gpu/drm/tyr/driver.rs:196:5
> > |
> > 195 | struct Regulators {
> > | ---------- fields in this struct
> > 196 | mali: Regulator<regulator::Enabled>,
> > | ^^^^
> > 197 | sram: Regulator<regulator::Enabled>,
> > | ^^^^
> >
> > error: aborting due to 2 previous errors
> >
> > Caused by commit
> >
> > cf4fd52e32360 (rust: drm: Introduce the Tyr driver for Arm Mali GPUs)
> >
> > I am continuing to mark the driver as BROKEN.
>
> Hrm I saw you had this last time too. I'm not sure how you're triggering
> it - I haven't run into it myself and I do enable warnings. But I'll try
> to repro and fix it.
Although I hadn't seen this error before I was able to reproduce it
today on linux-next/master so I don't know if it's too late, but here is
a quick fix.
https://lore.kernel.org/rust-for-linux/20260122003746.405370-1-deborah.brouwer@collabora.com/
>
> Note that for this kind of thing you can add `#![allow(warnings)]` to
> the top of a file to silence warnings.
>
> Alice
next prev parent reply other threads:[~2026-01-22 0:42 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-21 17:14 linux-next: build failure in the final build Mark Brown
2026-01-21 17:18 ` Miguel Ojeda
2026-01-21 17:24 ` Mark Brown
2026-01-21 18:14 ` Miguel Ojeda
2026-01-21 19:14 ` Alice Ryhl
2026-01-21 19:24 ` Miguel Ojeda
2026-01-22 11:20 ` Mark Brown
2026-01-22 0:42 ` Deborah Brouwer [this message]
2026-01-22 11:17 ` Mark Brown
-- strict thread matches above, loose matches on Subject: below --
2026-06-10 15:51 Mark Brown
2026-07-06 14:50 Mark Brown
2026-07-06 14:52 ` Johannes Berg
2026-07-07 12:11 linux-next: build warnings after merge of the kvm-arm-fixes tree Mark Brown
2026-07-07 12:58 ` linux-next: Build failure in the final build Mark Brown
2026-07-13 17:48 linux-next: build " Mark Brown
2026-07-15 15:37 ` Mark Brown
2026-07-17 13:47 ` Manuel Ebner
2026-07-17 14:35 ` Greg Kroah-Hartman
2026-07-17 14:40 ` Johan Hovold
2026-07-17 14:54 ` Mark Brown
2026-07-17 15:06 ` Johan Hovold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aXFyakDy3VSRw1NW@um790 \
--to=deborah.brouwer@collabora.com \
--cc=aliceryhl@google.com \
--cc=beata.michalska@arm.com \
--cc=broonie@kernel.org \
--cc=carsten.haitzler@foss.arm.com \
--cc=dakr@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=miguel.ojeda.sandonis@gmail.com \
--cc=robh@kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.