[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <161664413899.21300.14359949090344574751.b4-ty@oracle.com>
Date: Wed, 24 Mar 2021 23:53:45 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: suganath-prabu.subramani@...adcom.com, sathya.prakash@...adcom.com,
Jia-Ju Bai <baijiaju1990@...il.com>,
sreekanth.reddy@...adcom.com, jejb@...ux.ibm.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
MPT-FusionLinux.pdl@...adcom.com
Subject: Re: [PATCH] scsi: mpt3sas: fix error return code of mpt3sas_base_attach()
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
Powered by blists - more mailing lists