From: Tamir Duberstein Date: Sat, 18 Oct 2025 19:16:32 +0000 (-0400) Subject: rust: opp: fix broken rustdoc link X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6fdbe8feace22ba54ebcf20d6e200fc97c8e065;p=thirdparty%2Fkernel%2Flinux.git rust: opp: fix broken rustdoc link Correct the spelling of "CString" to make the link work. Fixes: ce32e2d47ce6 ("rust: opp: Add abstractions for the configuration options") Signed-off-by: Tamir Duberstein Signed-off-by: Viresh Kumar --- diff --git a/rust/kernel/opp.rs b/rust/kernel/opp.rs index 2c763fa9276d0..04472a8de3ff8 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> { // Allocated a null-terminated vector of pointers. let mut list = KVec::with_capacity(names.len() + 1, GFP_KERNEL)?;