diff options
| author | Christoph Hellwig <[email protected]> | 2015-04-23 16:33:24 +0530 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-05-25 08:46:30 -0700 |
| commit | 48100b0ed0e5a34873828c0cdae8708804d57ee5 (patch) | |
| tree | ad069b525cb91dd5d818f103506f3d50a4ea5c8b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | c6f5bf814f0ad7ff11bd0054d1b0ff15df20d4b5 (diff) | |
megaraid_sas : move endianness conversion into caller of megasas_get_seq_num
Converting structure fields in place is always a bad idea, and in this case
by moving it into the only caller we also only have to do a single byte
swap as most fields of this structure are never used.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Sumit Saxena <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Tomas Henzl <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions