]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
rust: opp: fix broken rustdoc link
authorTamir Duberstein <tamird@gmail.com>
Sat, 18 Oct 2025 19:16:32 +0000 (15:16 -0400)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 22 Oct 2025 03:56:20 +0000 (09:26 +0530)
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 <tamird@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
rust/kernel/opp.rs

index 2c763fa9276d069f615ece3a8fcea928eace6285..04472a8de3ff8686d90dab775018b16d3d553abb 100644 (file)
@@ -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)?;