Re: [PATCH] scsi: pmcraid: Replace cpu_to_be64 + le64_to_cpu with swab64

From: Thorsten Blum
Date: Wed Dec 10 2025 - 10:41:36 EST


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.