Re: [PATCH 01/11] scsi: scsi_debug: Don't hold driver host struct pointer in host->hostdata[]
From: John Garry
Date: Tue Mar 07 2023 - 10:16:55 EST
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