[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161664413899.21300.5389880023818907979.b4-ty@oracle.com>
Date: Wed, 24 Mar 2021 23:53:46 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: mrangankar@...vell.com, njavali@...vell.com,
Jia-Ju Bai <baijiaju1990@...il.com>, jejb@...ux.ibm.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
GR-QLogic-Storage-Upstream@...vell.com
Subject: Re: [PATCH] scsi: qedi: fix error return code of qedi_alloc_global_queues()
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
Powered by blists - more mailing lists