]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
scsi: cxlflash: Update send_tmf() parameters
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Wed, 28 Jun 2017 17:14:30 +0000 (12:14 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 1 Jul 2017 21:01:25 +0000 (17:01 -0400)
commit32abbedaafde5a0c1edfd07369dde73a4fda2554
treee807cf24dd1b5c8b6dfe98f01caf954c89ffef81
parentacfeb23b29894deaee65d63c55bea09183f6b538
scsi: cxlflash: Update send_tmf() parameters

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@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/cxlflash/main.c