]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit536cba2fd57294fa093e7adb54db5584c99f121b
treeabe2f51baed5656b33d1a4fc121bef4e06286439
parent1635a246fea179d6cabdaf0ab9b56055a1a770d5
ipr: Byte swapping for device_id attribute in sysfs

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