diff options
author | James Smart <james.smart@broadcom.com> | 2021-06-19 08:57:29 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-06-22 21:11:37 -0400 |
commit | f7c95d7460e342f812eaf9b4b74f100d5afaf258 (patch) | |
tree | 12aa3c8faa53488a06cff16f0464b51075a20459 /drivers/scsi/aic94xx | |
parent | f6060eb1344717bf22d592a6e1b69818b07cad6e (diff) |
scsi: elx: efct: Fix vport list linkage in LIO backend
vport is linked onto the driver's vport list at allocation, but failure
path fails to remove it from the list.
Change location of linkage until after complete vport completion.
Link: https://lore.kernel.org/r/20210619155729.20049-1-jsmart2021@gmail.com
Fixes: 692e5d73a811 ("scsi: elx: efct: LIO backend interface routines")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Co-developed-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: Ram Vegesna <ram.vegesna@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aic94xx')
0 files changed, 0 insertions, 0 deletions