mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Stuart Menefy" <stuart.menefy@codasip.com>,
	linux-kernel@vger.kernel.org
Cc: Linux-Arch <linux-arch@vger.kernel.org>,
	"David McKay" <david.mckay@codasip.com>
Subject: Re: [PATCH] asm-generic: Fix 32 bit __generic_cmpxchg_local
Date: Fri, 05 Jan 2024 23:25:21 +0100	[thread overview]
Message-ID: <9e16b15b-e715-43a3-915e-7f43fb4af935@app.fastmail.com> (raw)
In-Reply-To: <20240104094010.394669-1-stuart.menefy@codasip.com>

On Thu, Jan 4, 2024, at 10:40, Stuart Menefy wrote:
> From: David McKay <david.mckay@codasip.com>
>
> Commit 656e9007ef58 ("asm-generic: avoid __generic_cmpxchg_local
> warnings") introduced a typo that means the code is incorrect for 32 bit
> values. It will work fine for postive numbers, but will fail for
> negative numbers on a system where longs are 64 bit.
>
> Fixes: 656e9007ef58 ("asm-generic: avoid __generic_cmpxchg_local warnings")
> Signed-off-by: David McKay <david.mckay@codasip.com>
> Signed-off-by: Stuart Menefy <stuart.menefy@codasip.com>

Applied to the asm-generic tree, thanks a lot!

      arnd

      reply	other threads:[~2024-01-05 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-04  9:40 Stuart Menefy
2024-01-05 22:25 ` Arnd Bergmann [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=9e16b15b-e715-43a3-915e-7f43fb4af935@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=david.mckay@codasip.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stuart.menefy@codasip.com \
    /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

all inboxes | Powered by JetHome®