summaryrefslogtreecommitdiffstats
path: root/rust/kernel/src/user_ptr.rs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2020-10-05 18:05:11 -0400
committerGitHub <noreply@github.com>2020-10-05 18:05:11 -0400
commitf60edb207431c61184b6c4a562159f98c83046d1 (patch)
tree7041411063372a949d9e5bd13beb109da4f36ae2 /rust/kernel/src/user_ptr.rs
parentc17d29003c09d52d5ab4d61b08d59ad26f07208b (diff)
parent0d05ea2259bd821445f1b3091199082217255184 (diff)
Merge pull request #19 from Kloenk/coding-style
apply coding style
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