Re: [PATCH] nvme-pci: fix doorbell buffer value endianness

Klaus Jensen
2022-12-13T08:52:36Z

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

On Dec 13 09:50, Christoph Hellwig wrote:
> On Mon, Dec 12, 2022 at 04:02:43PM +0100, Klaus Jensen wrote:
> > - old_value = *dbbuf_db;
> > - *dbbuf_db = value;
> > + old_value = le32_to_cpu(*dbbuf_db);
> > + *dbbuf_db = cpu_to_le32(value);
>
> As the buildbot noticed, this now means dbbuf_dbs needs to be
> a __le32, and the endianess annoations will have to wee through
> quite a few places.
>

Yes, I'll fix it :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]