diff options
author | Jia-Ju Bai <[email protected]> | 2021-03-07 19:30:24 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-03-24 22:04:21 -0400 |
commit | f69953837ca5d98aa983a138dc0b90a411e9c763 (patch) | |
tree | 5f2239a0311bb0683253b0137c713881543be156 /scripts/gdb/linux/device.py | |
parent | 39c0c8553bfb5a3d108aa47f1256076d507605e3 (diff) |
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 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions