[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250512194008.3bf1bd47@canb.auug.org.au>
Date: Mon, 12 May 2025 19:40:08 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the rust tree
Hi all,
After merging the rust tree and the other rust trees, today's linux-next
build (x86_64 allmodconfig) failed like this:
error[E0599]: no method named `cast_mut` found for raw pointer `*mut auxiliary_device` in the current scope
--> rust/kernel/auxiliary.rs:239:83
|
239 | let adev = unsafe { container_of!(dev, bindings::auxiliary_device, dev) }.cast_mut();
| ^^^^^^^^
|
help: there is a method `as_mut` with a similar name
|
239 | let adev = unsafe { container_of!(dev, bindings::auxiliary_device, dev) }.as_mut();
| ~~~~~~
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0599`.
Not sure what caused this and that file has not changed from
next-20250509, so I have used the rust tree from next-20250509 for today.
Clearly I need help with the merge resolution here.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists