Re: [PATCH v2 4/4] rust: types: remove temporary re-exports of ARef and AlwaysRefCounted
From: Danilo Krummrich
Date: Wed Jan 07 2026 - 17:04:41 EST
On Wed Jan 7, 2026 at 3:39 PM CET, Shankari Anand wrote:
> Hello Miguel and all,
>
>> >> error[E0432]: unresolved import `crate::types::ARef`
>> --> rust/kernel/scatterlist.rs:41:13
>> |
>> 41 | types::{ARef, Opaque},
>> | ^^^^ no `ARef` in `types`
>> |
>> = help: consider importing this struct instead:
>> crate::sync::aref::ARef
>> --
>
> This change has already been made in [1]. Probably it has showed up on the linux-next
> recently which has caused the kernel bot to detect the error.
This is because the failing build was against the staging tree, which
(obviously) does not contain all the relevant patches to remove the temporary
re-export.
Now, I have no idea why the bot pulled this series to build it against the
staging tree though. But it should help to use --base when running git
format-patch.
Also, note that this patch can only be landed after all other patches went from
their corresponding subsystem trees into Linus' tree.