diff options
| author | Tyrel Datwyler <[email protected]> | 2020-11-17 12:50:29 -0600 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-11-19 22:04:12 -0500 |
| commit | 61bdb4eec8d1efc0dc3259d8392e43e20a01deae (patch) | |
| tree | 839e3f7025696a2da733458773cd9dc4e07de212 /tools/perf/scripts/python | |
| parent | 3754cde8df9106bda396b2956ea6f9758e26b25e (diff) | |
scsi: ibmvfc: Byte swap login_buf.resp values in attribute show functions
Both ibmvfc_show_host_(capabilities|npiv_version) functions retrieve values
from vhost->login_buf.resp buffer. This is the MAD response buffer from the
VIOS and as such any multi-byte non-string values are in big endian format.
Byte swap these values to host CPU endian format for better human
readability.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tyrel Datwyler <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions