linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rust: file: fix build error
@ 2025-08-30  4:01 Onur Özkan
  2025-09-01 11:55 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Onur Özkan @ 2025-08-30  4:01 UTC (permalink / raw)
  To: rust-for-linux
  Cc: viro, brauner, jack, ojeda, alex.gaynor, boqun.feng, gary,
	bjorn3_gh, lossin, a.hindborg, aliceryhl, tmgross, dakr,
	linux-fsdevel, linux-kernel, Onur Özkan, kernel test robot

Fixes an obvious error most likely caused while
resolving a merge conflict from other patches.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202508291740.MyzqNwyg-lkp@intel.com/
Signed-off-by: Onur Özkan <work@onurozkan.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] rust: file: fix build error
  2025-08-30  4:01 [PATCH] rust: file: fix build error Onur Özkan
@ 2025-09-01 11:55 ` Christian Brauner
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2025-09-01 11:55 UTC (permalink / raw)
  To: Onur Özkan
  Cc: rust-for-linux, viro, jack, ojeda, alex.gaynor, boqun.feng, gary,
	bjorn3_gh, lossin, a.hindborg, aliceryhl, tmgross, dakr,
	linux-fsdevel, linux-kernel, kernel test robot

On Sat, Aug 30, 2025 at 07:01:59AM +0300, Onur Özkan wrote:
> Fixes an obvious error most likely caused while
> resolving a merge conflict from other patches.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202508291740.MyzqNwyg-lkp@intel.com/
> Signed-off-by: Onur Özkan <work@onurozkan.dev>
> ---

Thanks! I folded this!
Christian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-01 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-30  4:01 [PATCH] rust: file: fix build error Onur Özkan
2025-09-01 11:55 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).