aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTyrel Datwyler <[email protected]>2016-02-10 19:32:27 -0600
committerMartin K. Petersen <[email protected]>2016-02-23 21:27:02 -0500
commitf36948cb4963a4d821045dce08cd00ff146e9cfc (patch)
tree55d7eccc68397d683fd03663771d79c677a5f5e8 /tools/perf/scripts/python
parent0a1c0ebfab2672a657ca605516f9e1c3afe32f6f (diff)
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 <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions