Files
linux/drivers
Damien Le Moal 49414387c4 scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()
commit 4a109032e3 upstream.

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: 89d9475610 ("sd: Implement support for ZBC devices")
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:40:50 +00:00
..
2017-11-03 09:02:30 -07:00
2017-11-03 09:02:30 -07:00
2017-11-30 08:40:47 +00:00
2017-08-29 13:46:35 +02:00
2017-11-03 09:02:30 -07:00