]> www.infradead.org Git - users/jedix/linux-maple.git/commit
megaraid_sas : swap whole register in megasas_register_aen
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Apr 2015 11:04:24 +0000 (16:34 +0530)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 29 Jun 2015 15:32:51 +0000 (08:32 -0700)
commit1685fd51a95b4c9d7242a168a338f0f4197680fe
tree07bd620780894fbc719612c09a8053f24f866c49
parent96f4376bc30920dae430cb15394362295bcfef80
megaraid_sas : swap whole register in megasas_register_aen

Swap the whole 32 bits we read from the hardware instead of swapping
just the 16bits we care about in place later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/megaraid/megaraid_sas_base.c