All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Boqun Feng <boqun.feng@gmail.com>
Cc: levymitchell0@gmail.com, aliceryhl@google.com,
	benno.lossin@proton.me, mingo@kernel.org, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] rust: lockdep: Remove support for dynamically allocated" failed to apply to 6.6-stable tree
Date: Tue, 18 Mar 2025 12:59:24 -0700	[thread overview]
Message-ID: <2025031804-macarena-appease-83d4@gregkh> (raw)
In-Reply-To: <67d9b4a0.e90a0220.3d651b.b756@mx.google.com>

On Tue, Mar 18, 2025 at 10:59:58AM -0700, Boqun Feng wrote:
> Hi Greg,
> 
> On Sun, Mar 16, 2025 at 08:15:32AM +0100, gregkh@linuxfoundation.org wrote:
> > 
> > The patch below does not apply to the 6.6-stable tree.
> > If someone wants it applied there, or to any other stable or longterm
> > tree, then please email the backport, including the original git commit
> > id to <stable@vger.kernel.org>.
> > 
> > To reproduce the conflict and resubmit, you may use the following commands:
> > 
> > git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y
> > git checkout FETCH_HEAD
> > git cherry-pick -x 966944f3711665db13e214fef6d02982c49bb972
> 
> It's weird because `cherry-pick` works for me:
> 
> $ git cherry-pick -x 966944f3711665db13e214fef6d02982c49bb972
> Auto-merging rust/kernel/sync.rs
> [stable-6.6 f5771e91eac3] rust: lockdep: Remove support for dynamically allocated LockClassKeys
>  Author: Mitchell Levy <levymitchell0@gmail.com>
>  Date: Fri Mar 7 15:27:00 2025 -0800
>  1 file changed, 4 insertions(+), 6 deletions(-)
> 
> my base is 594a1dd5138a ("Linux 6.6.83").
> 
> I checked the original commit in Linus' tree, it removes the `impl
> Default` which doesn't exist in 6.6, however it seems my `cherry-pick`
> can realise and fix this! Anyway I will send the fixed patch soon.

Yeah, git is smart, patch is not:

patching file rust/kernel/sync.rs
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- rejects in file rust/kernel/sync.rs

:(

thanks for the fixup.

greg k-h

  reply	other threads:[~2025-03-18 20:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-16  7:15 FAILED: patch "[PATCH] rust: lockdep: Remove support for dynamically allocated" failed to apply to 6.6-stable tree gregkh
2025-03-18 17:59 ` Boqun Feng
2025-03-18 19:59   ` Greg KH [this message]
2025-03-18 18:04 ` [PATCH 6.6.y] rust: lockdep: Remove support for dynamically allocated LockClassKeys Boqun Feng
2025-03-18 20:12   ` Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2025031804-macarena-appease-83d4@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=aliceryhl@google.com \
    --cc=benno.lossin@proton.me \
    --cc=boqun.feng@gmail.com \
    --cc=levymitchell0@gmail.com \
    --cc=mingo@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.