summaryrefslogtreecommitdiffstats
path: root/rust/kernel/src/user_ptr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/src/user_ptr.rs')
-rw-r--r--rust/kernel/src/user_ptr.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/kernel/src/user_ptr.rs b/rust/kernel/src/user_ptr.rs
index 19ecb711e24a..986043c4596f 100644
--- a/rust/kernel/src/user_ptr.rs
+++ b/rust/kernel/src/user_ptr.rs
@@ -9,7 +9,8 @@ use crate::c_types;
use crate::error;
extern "C" {
- fn rust_helper_access_ok(addr: *const c_types::c_void, len: c_types::c_ulong) -> c_types::c_int;
+ fn rust_helper_access_ok(addr: *const c_types::c_void, len: c_types::c_ulong)
+ -> c_types::c_int;
}
/// A reference to an area in userspace memory, which can be either