Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[sfrench/cifs-2.6.git] / drivers / scsi / sd_zbc.c
index db16c19e05c4e4001944a4094fb43a486ba5b250..5d6ff3931632fdbd5aa0f5735d9a53a9a5fa1c91 100644 (file)
@@ -461,7 +461,7 @@ int sd_zbc_read_zones(struct scsi_disk *sdkp, unsigned char *buf)
 {
        struct gendisk *disk = sdkp->disk;
        unsigned int nr_zones;
-       u32 zone_blocks;
+       u32 zone_blocks = 0;
        int ret;
 
        if (!sd_is_zoned(sdkp))