]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: uaccess: name the correct function
authorTamir Duberstein <tamird@gmail.com>
Mon, 17 Mar 2025 11:43:03 +0000 (07:43 -0400)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 23 Mar 2025 18:45:03 +0000 (19:45 +0100)
commit4e72a62e8ddd00e50bfe9aec13995fa2079f6486
treed79365bd8b90257677b8d5eb4fa4fea58bca5f13
parentf6be7af44525a005f537ca04f24dc56b391f9a8b
rust: uaccess: name the correct function

Correctly refer to `reserve` rather than `try_reserve` in a comment.  This
comment has been incorrect since inception in commit 1b580e7b9ba2 ("rust:
uaccess: add userspace pointers").

Fixes: 1b580e7b9ba2 ("rust: uaccess: add userspace pointers")
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Charalampos Mitrodimas <charmitro@posteo.net>
Link: https://lore.kernel.org/r/20250317-uaccess-typo-reserve-v1-1-bbfcb45121f3@gmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/uaccess.rs