On 06/28/2017 07:14 PM, Matthew R. Ochs wrote: > The current send_tmf() implementation is based on the caller providing > a SCSI command reference. In reality all that is needed is a SCSI device > reference as the routine uses a private command. > > Refactor send_tmf() to pass the private adapter configuration reference > and a SCSI device reference. As a nice side effect, this will ease the > burden of converting caller routines to be based solely off of a SCSI > device reference. > > Signed-off-by: Matthew R. Ochs <mrochs@xxxxxxxxxxxxxxxxxx> > --- > drivers/scsi/cxlflash/main.c | 27 +++++++++++++-------------- > 1 file changed, 13 insertions(+), 14 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)