diff options
author | Tyrel Datwyler <tyreld@linux.vnet.ibm.com> | 2016-02-11 04:32:27 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-24 05:27:02 +0300 |
commit | f36948cb4963a4d821045dce08cd00ff146e9cfc (patch) | |
tree | 55d7eccc68397d683fd03663771d79c677a5f5e8 /security/selinux/.gitignore | |
parent | 0a1c0ebfab2672a657ca605516f9e1c3afe32f6f (diff) | |
download | linux-f36948cb4963a4d821045dce08cd00ff146e9cfc.tar.xz |
ibmvscsi: Add endian conversions to sysfs attribute show functions
The values returned by the show functions for the host os_type,
mad_version, and partition_number attributes get their values directly
from the madapter_info struct whose associated fields are __be32
typed. Added endian conversion to ensure these values are sane on LE
platforms.
Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'security/selinux/.gitignore')
0 files changed, 0 insertions, 0 deletions