diff options
Diffstat (limited to 'rust/kernel')
| -rw-r--r-- | rust/kernel/opp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/opp.rs b/rust/kernel/opp.rs index 2c763fa9276d..04472a8de3ff 100644 --- a/rust/kernel/opp.rs +++ b/rust/kernel/opp.rs @@ -87,7 +87,7 @@ use core::{marker::PhantomData, ptr}; use macros::vtable; -/// Creates a null-terminated slice of pointers to [`Cstring`]s. +/// Creates a null-terminated slice of pointers to [`CString`]s. fn to_c_str_array(names: &[CString]) -> Result<KVec<*const u8>> { // Allocated a null-terminated vector of pointers. let mut list = KVec::with_capacity(names.len() + 1, GFP_KERNEL)?; |
