ipr: Endian / sparse fixes
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 12 Jun 2015 01:45:20 +0000 (20:45 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 30 Jul 2015 19:41:21 +0000 (12:41 -0700)
commit359d96e73cea0ef2429db20e1a2322c75bc13830
tree380b5583d907cc756bc35ef10ccaab0f1b842f91
parentbb8647e86e769bd45d2d5e010b3af516210d5760
ipr: Endian / sparse fixes

Some misc fixes for endianness checking with sparse so sparse with
endian checking now runs clean. Fixes a minor bug in the process
which was uncovered by sparse which would result in unnecessary
error recovery for check conditions.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h