diff options
| author | Dan Carpenter <[email protected]> | 2018-11-01 05:25:30 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-12-08 03:23:41 +0000 |
| commit | 9ae4f8420ed7be4b13c96600e3568c144d101a23 (patch) | |
| tree | fde8005b2163ebd820874638ba6ff552b642cc78 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | Revert "scsi: qla2xxx: Fix NVMe Target discovery" (diff) | |
| download | kernel-9ae4f8420ed7be4b13c96600e3568c144d101a23.tar.gz kernel-9ae4f8420ed7be4b13c96600e3568c144d101a23.zip | |
scsi: bnx2fc: Fix NULL dereference in error handling
If "interface" is NULL then we can't release it and trying to will only
lead to an Oops.
Fixes: aea71a024914 ("[SCSI] bnx2fc: Introduce interface structure for each vlan interface")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
