Re: [PATCH 01/11] scsi: scsi_debug: Don't hold driver host struct pointer in host->hostdata[]

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

 



On 07/03/2023 14:58, Bart Van Assche wrote:
On 3/7/23 02:55, John Garry wrote:
+#define to_sdebug_host_from_shost(shost)    \
+    to_sdebug_host(shost->dma_dev)

Please make the name of this macro shorter and following naming conventions used elsewhere in the SCSI core. How about the following name: shost_to_sdebug_host()?

ok, fine, I can change that. Maybe then I'll also change to_sdebug_host() -> dev_to_sdebug_host() to avoid ambiguity.

Thanks,
John



[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