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

From: Bart Van Assche
Date: Tue Mar 07 2023 - 10:06:00 EST


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()?

Thanks,

Bart.