Re: [PATCH v10 08/33] scsi: Use separate buf for START_STOP in sd_spinup_disk

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

 



On 7/17/23 08:45, John Garry wrote:
+                /* Return immediately and start spin cycle */
+                const u8 start_cmd[10] = { START_STOP, 1, 0, 0,
+                    sdkp->device->start_stop_pwr_cond ?
+                    0x11 : 1 };

same comment as previous patch

I'm not sure that using designated initializers for initializing only the
first five elements will improve readability ...

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