Re: linux-next: build failure after merge of the vfs-brauner tree
From: Onur Özkan
Date: Mon Sep 01 2025 - 00:51:40 EST
On Mon, 1 Sep 2025 09:34:22 +1000
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi all,
>
> After merging the vfs-brauner tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> error[E0425]: cannot find function `to_result` in this scope
> --> rust/kernel/fs/file.rs:402:9
> |
> 402 | to_result(fd)?;
> | ^^^^^^^^^ not found in this scope
> |
> help: consider importing this function
> |
> 10 + use crate::error::to_result;
> |
>
> error: aborting due to 1 previous error
>
> For more information about this error, try `rustc --explain E0425`.
>
> Caused by commit
>
> bcd0b5f0199b ("rust: file: use to_result for error handling")
>
> I have used te vfs-brauner tree from next-20250829 for today.
>
Hi Stephen,
Fyi, I sent the fix patch ([1]) previous week already.
[1]:
https://lore.kernel.org/all/20250830040159.25214-1-work@xxxxxxxxxxxxx/
Regards,
Onur