[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251210222100.66ac5c88@pumpkin>
Date: Wed, 10 Dec 2025 22:21:00 +0000
From: David Laight <david.laight.linux@...il.com>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Christoph Hellwig <hch@...radead.org>, "James E.J. Bottomley"
<James.Bottomley@...senpartnership.com>, "Martin K. Petersen"
<martin.petersen@...cle.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: pmcraid: Replace cpu_to_be64 + le64_to_cpu with
swab64
On Wed, 10 Dec 2025 16:39:36 +0100
Thorsten Blum <thorsten.blum@...ux.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
Powered by blists - more mailing lists