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/perf | |
parent | f6060eb1344717bf22d592a6e1b69818b07cad6e (diff) | |
download | linux-f7c95d7460e342f812eaf9b4b74f100d5afaf258.tar.bz2 |
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/perf')
0 files changed, 0 insertions, 0 deletions