From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752060AbdHPOkk (ORCPT ); Wed, 16 Aug 2017 10:40:40 -0400 Received: from mail-qt0-f177.google.com ([209.85.216.177]:35517 "EHLO mail-qt0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751605AbdHPOki (ORCPT ); Wed, 16 Aug 2017 10:40:38 -0400 Date: Wed, 16 Aug 2017 07:40:32 -0700 From: Tejun Heo To: Christophe JAILLET Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Sergei Shtylyov Subject: Re: [PATCH] sata: ahci-da850: Fix some error handling paths in 'ahci_da850_probe()' Message-ID: <20170816144032.GE4087514@devbig577.frc2.facebook.com> References: <20170816053103.19773-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170816053103.19773-1-christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Applied to libata/for-4.13-fixes w/ Sergei's suggestion applied. Thanks. -- tejun