Re: [PATCH] scsi: mpt3sas: fix error return code of mpt3sas_base_attach()

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


On Sun, 7 Mar 2021 19:52:41 -0800, Jia-Ju Bai wrote:

> When kzalloc() returns NULL, no error return code of
> mpt3sas_base_attach() is assigned.
> To fix this bug, r is assigned with -ENOMEM in this case.

Applied to 5.12/scsi-fixes, thanks!

[1/1] scsi: mpt3sas: fix error return code of mpt3sas_base_attach()
https://git.kernel.org/mkp/scsi/c/3401ecf7fc1b

--
Martin K. Petersen Oracle Linux Engineering