[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1r2vsxzmp.fsf@oracle.com>
Date: Wed, 30 Aug 2017 22:03:10 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Nikola Pajkovsky <npajkovsky@...e.cz>
Cc: Adaptec OEM Raid Solutions <aacraid@...rosemi.com>,
"James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] scsi: aacraid: report -ENOMEM to upper layer from aac_convert_sgraw2()
Nikola,
> aac_convert_sgraw2() kmalloc memory and return -1 on error, which
> should be -ENOMEM. However, nobody is checking return value, so with
> this change, -ENOMEM is propagated to upper layer.
Applied to 4.14/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists