]> git.baikalelectronics.ru Git - kernel.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)
committerJames Bottomley <JBottomley@Odin.com>
Mon, 25 May 2015 15:46:31 +0000 (08:46 -0700)
commit3500ba30d4a3e37a1a7a46b2d8fbedbad104b893
tree2914f792e4e940430b8690e595008a18f191981c
parent46b9f0daf827d735b1864cfc7b8ce5a5b8733284
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