From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH] ata: ahci_platform: fix devm_ioremap_resource() return value checking Date: Fri, 14 Mar 2014 14:30:57 -0400 Message-ID: <20140314183057.GA6889@mtj.dyndns.org> References: <2139783.QvectlX5nq@amdc1032> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-qc0-f178.google.com ([209.85.216.178]:56382 "EHLO mail-qc0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754721AbaCNSbC (ORCPT ); Fri, 14 Mar 2014 14:31:02 -0400 Content-Disposition: inline In-Reply-To: <2139783.QvectlX5nq@amdc1032> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Bartlomiej Zolnierkiewicz Cc: Hans de Goede , linux-ide@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org On Fri, Mar 14, 2014 at 06:22:09PM +0100, Bartlomiej Zolnierkiewicz wrote: > devm_ioremap_resource() returns a pointer to the remapped memory or > an ERR_PTR() encoded error code on failure. Fix the check inside > ahci_platform_get_resources() accordingly. > > Also while at it remove a needless line break. > > Signed-off-by: Bartlomiej Zolnierkiewicz Applied to libata/for-3.15. Thanks. -- tejun