Re: [PATCH 3/4] scsi: pmcraid: fix endianess sparse annotations

From: Christoph Hellwig
Date: Sun Apr 23 2017 - 04:41:35 EST


> mb();
> - iowrite32(le32_to_cpu(cmd->ioa_cb->ioarcb.ioarcb_bus_addr),
> - pinstance->ioarrin);
> + iowrite32(le64_to_cpu(cmd->ioa_cb->ioarcb.ioarcb_bus_addr), pinstance->ioarrin);

It really seems like some of these fields should be swapped once
and store in an in-memory structure.

But for now this patch looks fine to me:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>