[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87tt11wmgu.fsf@t14s.mail-host-address-is-not-set>
Date: Wed, 17 Sep 2025 09:46:09 +0200
From: Andreas Hindborg <a.hindborg@...nel.org>
To: Mark Brown <broonie@...nel.org>, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com>, Peter
Zijlstra <peterz@...radead.org>
Cc: Boqun Feng <boqun.feng@...il.com>, Gary Guo <gary@...yguo.net>, Jens
Axboe <axboe@...nel.dk>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>
Subject: Re: linux-next: manual merge of the tip tree with the block tree
"Mark Brown" <broonie@...nel.org> writes:
> Hi all,
>
> Today's linux-next merge of the tip tree got a conflict in:
>
> rust/kernel/block/mq/operations.rs
>
> between commit:
>
> 90d952fac8ac1 ("rust: block: add `GenDisk` private data support")
>
> from the block tree and commit:
>
> b6dd7b75496c5 ("rust: block: convert `block::mq` to use `Refcount`")
>
> from the tip 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/block/mq/operations.rs
> index d098a8a3e4340,c0f95a9419c4e..0000000000000
> --- a/rust/kernel/block/mq/operations.rs
> +++ b/rust/kernel/block/mq/operations.rs
> @@@ -6,15 -6,15 +6,16 @@@
>
> use crate::{
> bindings,
> - block::mq::request::RequestDataWrapper,
> - block::mq::Request,
> + block::mq::{request::RequestDataWrapper, Request},
> error::{from_result, Result},
> prelude::*,
> + sync::Refcount,
> - types::ARef,
> + types::{ARef, ForeignOwnable},
> };
> - use core::{marker::PhantomData, sync::atomic::AtomicU64, sync::atomic::Ordering};
> + use core::marker::PhantomData;
>
> +type ForeignBorrowed<'a, T> = <T as ForeignOwnable>::Borrowed<'a>;
> +
> /// Implement this trait to interface blk-mq as block devices.
> ///
> /// To implement a block device driver, implement this trait as described in the
Looks good to me, thanks!
Best regards,
Andreas Hindborg
Powered by blists - more mailing lists