diff options
| author | Jia-Ju Bai <[email protected]> | 2021-03-08 03:30:24 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-03-25 02:04:21 +0000 |
| commit | f69953837ca5d98aa983a138dc0b90a411e9c763 (patch) | |
| tree | 5f2239a0311bb0683253b0137c713881543be156 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | scsi: Revert "qla2xxx: Make sure that aborted commands are freed" (diff) | |
| download | kernel-f69953837ca5d98aa983a138dc0b90a411e9c763.tar.gz kernel-f69953837ca5d98aa983a138dc0b90a411e9c763.zip | |
scsi: qedi: Fix error return code of qedi_alloc_global_queues()
When kzalloc() returns NULL to qedi->global_queues[i], no error return code
of qedi_alloc_global_queues() is assigned. To fix this bug, status is
assigned with -ENOMEM in this case.
Link: https://lore.kernel.org/r/[email protected]
Fixes: ace7f46ba5fd ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.")
Reported-by: TOTE Robot <[email protected]>
Acked-by: Manish Rangankar <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions
