linux-next: manual merge of the drm-rust tree with the driver-core.current tree
Mark Brown <[email protected]>
| Newsgroups | org.kernel.vger.linux-next,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
Today's linux-next merge of the drm-rust tree got a conflict in:
rust/kernel/io.rs
between commit:
f88db65aece9f ("rust: io: gate ioremap doctests on CONFIG_HAS_IOMEM")
from the driver-core.current tree and commits:
65f6abf9fa816 ("rust: io: add missing safety requirement in `IoCapable` methods")
bed01ca9e9cf8 ("rust: io: remove `MmioOwned`")
from the drm-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.
diff --cc rust/kernel/io.rs
index d4063ee412000,95f46bb75f9e8..0000000000000
--- a/rust/kernel/io.rs
+++ b/rust/kernel/io.rs
@@@ -4,12 -4,20 +4,21 @@@
//!
//! C header: [`include/asm-generic/io.h`](srctree/include/asm-generic/io.h)
+ use core::{
+ marker::PhantomData,
+ mem::MaybeUninit, //
+ };
+
use crate::{
bindings,
- prelude::*, //
+ prelude::*,
+ ptr::{
+ Alignment,
+ KnownSize, //
+ }, //
};
+#[cfg(CONFIG_HAS_IOMEM)]
pub mod mem;
pub mod poll;
pub mod register;
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp17vYACgkQJNaLcl1U h9ABLgf9HxDmXxEwkxslxrEa69fsUZUCK5l60EsRzBDzo+6K/VoV+b3NRm8Jxain m1zuWtKNUbZxfOeNmmMXfP1iZbHPgUo6h7IqQ/HAIhVefpaosw9gT2TjnBe4ifLK r2/q6gs9ELYwxucVg5SL29ZN7SwRAhwHK/v48GRDgWZXTcb6rvNtGvwOaXJecyWo 10LTamit+Ol9IPB4ZXE45zO5JB79Rlfo57nyX+eqXLp/Gm4l64LQV07w1kLkMzgC ucVsF0A1Ncep2bDOfpfF1XiLwoGIkgzY8B4ErgB7Ipjan9QGZEBYexVp75N9u/xE YbZa50qOOdVN/5RoqNRMofAJGW+u+g== =ZRnJ -----END PGP SIGNATURE-----