Re: [PATCH] nvme-pci: fix doorbell buffer value endianness
From: Christoph Hellwig
Date: Tue Dec 13 2022 - 03:51:43 EST
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.