[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250830040159.25214-1-work@onurozkan.dev>
Date: Sat, 30 Aug 2025 07:01:59 +0300
From: Onur Özkan <work@...rozkan.dev>
To: rust-for-linux@...r.kernel.org
Cc: viro@...iv.linux.org.uk,
brauner@...nel.org,
jack@...e.cz,
ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
lossin@...nel.org,
a.hindborg@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu,
dakr@...nel.org,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Onur Özkan <work@...rozkan.dev>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] rust: file: fix build error
Fixes an obvious error most likely caused while
resolving a merge conflict from other patches.
Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508291740.MyzqNwyg-lkp@intel.com/
Signed-off-by: Onur Özkan <work@...rozkan.dev>
---
rust/kernel/fs/file.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/kernel/fs/file.rs b/rust/kernel/fs/file.rs
index f9cf6239916a..f1a3fa698745 100644
--- a/rust/kernel/fs/file.rs
+++ b/rust/kernel/fs/file.rs
@@ -10,7 +10,7 @@
use crate::{
bindings,
cred::Credential,
- error::{code::*, Error, Result},
+ error::{code::*, to_result, Error, Result},
sync::aref::{ARef, AlwaysRefCounted},
types::{NotThreadSafe, Opaque},
};
--
2.50.0
Powered by blists - more mailing lists