commit | bb8647e86e769bd45d2d5e010b3af516210d5760 | [log] [tgz] |
---|---|---|
author | Wen Xiong <wenxiong@linux.vnet.ibm.com> | Thu Jun 11 20:45:18 2015 -0500 |
committer | James Bottomley <JBottomley@Odin.com> | Thu Jul 30 12:39:39 2015 -0700 |
tree | abe2f51baed5656b33d1a4fc121bef4e06286439 | |
parent | 0ae80ba91f57726f31b5b5890cb7c5173e624ca4 [diff] |
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>