ipr: Byte swapping for device_id attribute in sysfs
authorWen Xiong <wenxiong@linux.vnet.ibm.com>
Fri, 12 Jun 2015 01:45:18 +0000 (20:45 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 30 Jul 2015 19:39:39 +0000 (12:39 -0700)
On LE system, users see the wrong device_id attribute. This patch
does necessary byte swapping for device_id attribute and works on
both of LE and BE systems.

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

Simple merge