Re: [PATCH] scsi: qedi: fix error return code of qedi_alloc_global_queues()

2021-03-24 Thread Martin K. Petersen
On Sun, 7 Mar 2021 19:30:24 -0800, Jia-Ju Bai wrote: > 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. Applied to 5.12/scsi-fixes, thanks! [1/1] scsi: qedi:

RE: [EXT] [PATCH] scsi: qedi: fix error return code of qedi_alloc_global_queues()

2021-03-22 Thread Manish Rangankar
> ker...@vger.kernel.org; Jia-Ju Bai > Subject: [EXT] [PATCH] scsi: qedi: fix error return code of > qedi_alloc_global_queues() > > External Email > > -- > When kzalloc() returns NULL

[PATCH] scsi: qedi: fix error return code of qedi_alloc_global_queues()

2021-03-07 Thread Jia-Ju Bai
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. Fixes: ace7f46ba5fd ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework.") Reported-by: TOTE Robot