public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Jason Gunthorpe <jgg@ziepe.ca>,
	Abhijit Gangurde <abhijit.gangurde@amd.com>,
	Allen Hubbe <allen.hubbe@amd.com>,
	linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] RDMA/ionic: Replace cpu_to_be64 + le64_to_cpu with swab64
Date: Thu, 18 Dec 2025 18:09:47 +0200	[thread overview]
Message-ID: <20251218160947.GF400630@unreal> (raw)
In-Reply-To: <3BC136A4-B5FF-40B1-968C-67BB30C73239@linux.dev>

On Tue, Dec 16, 2025 at 01:35:02PM +0100, Thorsten Blum wrote:
> On 16. Dec 2025, at 01:51, Jason Gunthorpe wrote:
> > Okay, so Throsten, please don't send patches for changing to swab.
> 
> Yeah sorry, I didn't know about the sparse warnings before.
> 
> > If you want to improve it then the primitive should be
> > 
> > le64_to_be64(x)
> 
> le64_to_be64() or a similar helper doesn't seem to exist.

You can add it.

Thanks

> 
> Thanks,
> Thorsten
> 

      reply	other threads:[~2025-12-18 16:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10 13:14 [PATCH] RDMA/ionic: Replace cpu_to_be64 + le64_to_cpu with swab64 Thorsten Blum
2025-12-12  6:49 ` Jason Gunthorpe
2025-12-12  8:24   ` Abhijit Gangurde
2025-12-16  0:51     ` Jason Gunthorpe
2025-12-16 12:35       ` Thorsten Blum
2025-12-18 16:09         ` 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=20251218160947.GF400630@unreal \
    --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 \
    --cc=thorsten.blum@linux.dev \
    /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