[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170423083852.GC30869@infradead.org>
Date: Sun, 23 Apr 2017 01:38:52 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Johannes Berg <johannes.berg@...el.com>,
Hannes Reinecke <hare@...e.com>, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/4] scsi: pmcraid: fix endianess sparse annotations
> 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@....de>
Powered by blists - more mailing lists