diff options
| author | Damien Le Moal <[email protected]> | 2017-10-11 05:54:25 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-10-16 23:54:33 -0400 |
| commit | 4a109032e3941413d8a029f619543fc5aec1d26d (patch) | |
| tree | eeae6639702417c48f0146ef8cae8c54d7d55b53 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e8c77ec483b0bb3c9e6ee9144b9bcdde340647ca (diff) | |
scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()
The three values starting at byte 8 of the Zoned Block Device
Characteristics VPD page B6h are 32 bits values, not 64bits. So use
get_unaligned_be32() to retrieve the values and not get_unaligned_be64()
Fixes: 89d947561077 ("sd: Implement support for ZBC devices")
Cc: <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions