Re: [PATCH v3 32/35] scsi: sd: Have scsi-ml retry read_capacity_10 errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/3/22 10:53, Mike Christie wrote:
+	cmd[0] = READ_CAPACITY;
+	memset(&cmd[1], 0, 9);

Please remove the above code and change the cmd[] declaration into something like

static const u8 cmd[10] = { READ_CAPACITY };

Thanks,

Bart.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux