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

From: Klaus Jensen
Date: Tue Dec 13 2022 - 03:52:39 EST


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: signature.asc
Description: PGP signature