Re: [PATCH] sata: ahci-da850: Fix some error handling paths in 'ahci_da850_probe()'

From: Tejun Heo
Date: Wed Aug 16 2017 - 10:40:42 EST


Hello,

On Wed, Aug 16, 2017 at 07:31:03AM +0200, Christophe JAILLET wrote:
> 'rc' is known to be 0 at this point.
> If 'platform_get_resource()' or 'devm_ioremap()' fail, return -ENOMEM
> instead of 0 which means success.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Applied to libata/for-4.13-fixes w/ Sergei's suggestion applied.

Thanks.

--
tejun