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

Christoph Hellwig
2022-12-13T08:51:20Z

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.