From: David Laight <david.laight.linux@gmail.com>
To: Thorsten Blum <thorsten.blum@linux.dev>
Cc: Christoph Hellwig <hch@infradead.org>,
"James E.J. Bottomley" <James.Bottomley@hansenpartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: pmcraid: Replace cpu_to_be64 + le64_to_cpu with swab64
Date: Wed, 10 Dec 2025 22:21:00 +0000 [thread overview]
Message-ID: <20251210222100.66ac5c88@pumpkin> (raw)
In-Reply-To: <E269B89A-5111-4AB7-A875-92A3EA13B4E1@linux.dev>
On Wed, 10 Dec 2025 16:39:36 +0100
Thorsten Blum <thorsten.blum@linux.dev> wrote:
> On 10. Dec 2025, at 16:13, Christoph Hellwig wrote:
> > On Wed, Dec 10, 2025 at 03:33:21PM +0100, Thorsten Blum wrote:
> >> Replace cpu_to_be64(le64_to_cpu()) with swab64() to simplify
> >> pmcraid_prepare_cancel_cmd().
> >
> > How does this not break the __le64/__be64 annotation checking?
>
> I'm not sure and didn't investigate, but it compiles without warnings.
>
>
You'd need to run sparse.
David
next prev parent reply other threads:[~2025-12-10 22:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-10 14:33 [PATCH] scsi: pmcraid: Replace cpu_to_be64 + le64_to_cpu with swab64 Thorsten Blum
2025-12-10 15:13 ` Christoph Hellwig
2025-12-10 15:39 ` Thorsten Blum
2025-12-10 22:21 ` David Laight [this message]
2025-12-10 22:45 ` Thorsten Blum
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=20251210222100.66ac5c88@pumpkin \
--to=david.laight.linux@gmail.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=hch@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--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