Hi all,
Today's linux-next merge of the rust tree got a conflict in:
rust/kernel/opp.rs
between commit:
e6fdbe8feace ("rust: opp: fix broken rustdoc link")
from the opp tree and commit:
965a39a9627b ("rust: opp: use `CStr::as_char_ptr`")
from the rust tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc rust/kernel/opp.rs
index 04472a8de3ff,9d6c58178a6f..000000000000
--- a/rust/kernel/opp.rs
+++ b/rust/kernel/opp.rs
@@@ -87,8 -87,8 +87,8 @@@ 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>> {
+ fn to_c_str_array(names: &[CString]) -> Result<KVec<*const c_char>> {
// Allocated a null-terminated vector of pointers.
let mut list = KVec::with_capacity(names.len() + 1, GFP_KERNEL)?;
© 2016 - 2026 Red Hat, Inc.