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

From: Martin K. Petersen
Date: Wed Mar 24 2021 - 23:54:48 EST


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: fix error return code of qedi_alloc_global_queues()
https://git.kernel.org/mkp/scsi/c/f69953837ca5

--
Martin K. Petersen Oracle Linux Engineering