[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f72ff19-7e04-9ced-4988-aa88ab98536a@oracle.com>
Date: Tue, 7 Mar 2023 15:12:39 +0000
From: John Garry <john.g.garry@...cle.com>
To: Bart Van Assche <bvanassche@....org>, jejb@...ux.ibm.com,
martin.petersen@...cle.com
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
dgilbert@...erlog.com
Subject: Re: [PATCH 01/11] scsi: scsi_debug: Don't hold driver host struct
pointer in host->hostdata[]
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
Powered by blists - more mailing lists