Commit 354f1132 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: sd_zbc: Change the type of the ZBC fields into u32

This patch does not change any functionality but makes it clear that it is on
purpose that these fields are 32 bits wide.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 9027b15d
...@@ -74,12 +74,12 @@ struct scsi_disk { ...@@ -74,12 +74,12 @@ struct scsi_disk {
struct gendisk *disk; struct gendisk *disk;
struct opal_dev *opal_dev; struct opal_dev *opal_dev;
#ifdef CONFIG_BLK_DEV_ZONED #ifdef CONFIG_BLK_DEV_ZONED
unsigned int nr_zones; u32 nr_zones;
unsigned int zone_blocks; u32 zone_blocks;
unsigned int zone_shift; u32 zone_shift;
unsigned int zones_optimal_open; u32 zones_optimal_open;
unsigned int zones_optimal_nonseq; u32 zones_optimal_nonseq;
unsigned int zones_max_open; u32 zones_max_open;
#endif #endif
atomic_t openers; atomic_t openers;
sector_t capacity; /* size in logical blocks */ sector_t capacity; /* size in logical blocks */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment