mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: jgg@ziepe.ca, Abhijit Gangurde <abhijit.gangurde@amd.com>
Cc: allen.hubbe@amd.com, linux-rdma@vger.kernel.org,
	 linux-kernel@vger.kernel.org
Subject: Re: [PATCH rdma-next 1/2] RDMA/ionic: Fix build failure on SPARC due to xchg() operand size
Date: Sun, 21 Sep 2025 07:32:09 -0400	[thread overview]
Message-ID: <175845432914.2104414.9474042461731111363.b4-ty@kernel.org> (raw)
In-Reply-To: <20250919121301.1113759-1-abhijit.gangurde@amd.com>


On Fri, 19 Sep 2025 17:43:00 +0530, Abhijit Gangurde wrote:
> xchg() is used to safely handle the event queue arming.
> However SPARC xchg operates only 4B of variable.
> Change variable type from bool to int.
> 
> Unverified Error/Warning (likely false positive, kindly check if interested):
> 
>     ERROR: modpost: "__xchg_called_with_bad_pointer" [drivers/infiniband/hw/ionic/ionic_rdma.ko] undefined!
> 
> [...]

Applied, thanks!

[1/2] RDMA/ionic: Fix build failure on SPARC due to xchg() operand size
      https://git.kernel.org/rdma/rdma/c/ed9836c040bac2
[2/2] RDMA/ionic: Use ether_addr_copy instead of memcpy
      https://git.kernel.org/rdma/rdma/c/260cce64aaa282

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


      parent reply	other threads:[~2025-09-21 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19 12:13 Abhijit Gangurde
2025-09-19 12:13 ` [PATCH rdma-next 2/2] RDMA/ionic: Use ether_addr_copy instead of memcpy Abhijit Gangurde
2025-09-21 11:32 ` Leon Romanovsky [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=175845432914.2104414.9474042461731111363.b4-ty@kernel.org \
    --to=leon@kernel.org \
    --cc=abhijit.gangurde@amd.com \
    --cc=allen.hubbe@amd.com \
    --cc=jgg@ziepe.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@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 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®