public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: marcan@marcan.st, arnd@arndb.de, will@kernel.org, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] locking/atomic: Make test_and_*_bit() ordered on failure" failed to apply to 5.10-stable tree
Date: Mon, 22 Aug 2022 17:00:32 +0200	[thread overview]
Message-ID: <YwOaEI2XV7XiNWzH@kroah.com> (raw)
In-Reply-To: <CAHk-=whSXK98xy6szeyYrG2q7V5TUhk=aaEmU-joB3a8p7EA=Q@mail.gmail.com>

On Sun, Aug 21, 2022 at 09:28:52AM -0700, Linus Torvalds wrote:
> On Sun, Aug 21, 2022 at 6:46 AM <gregkh@linuxfoundation.org> wrote:
> >
> > The patch below does not apply to the 5.10-stable tree.
> 
> I think the reason is that "atomic_long_fetch_xyz()" got renamed to
> "arch_atomic_long_fetch_or()" by commit cf3ee3c8c29d ("locking/atomic:
> add generic arch_*() bitops") in the meantime.
> 
> Afaik, the patch should apply by literally just doing
> 
>    sed 's/arch_atomic_long/atomic_long/'
> 
> on the patch before applying it.
> 
> That should fix it all the way back to the 4.19 backport.

That worked, thanks!

      reply	other threads:[~2022-08-22 15:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-21 13:46 FAILED: patch "[PATCH] locking/atomic: Make test_and_*_bit() ordered on failure" failed to apply to 5.10-stable tree gregkh
2022-08-21 16:28 ` Linus Torvalds
2022-08-22 15:00   ` Greg KH [this message]

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=YwOaEI2XV7XiNWzH@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=arnd@arndb.de \
    --cc=marcan@marcan.st \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=will@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox