Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757617Ab3ENOD5 (ORCPT ); Tue, 14 May 2013 10:03:57 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:54858 "EHLO mail-wg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754170Ab3ENODy (ORCPT ); Tue, 14 May 2013 10:03:54 -0400 MIME-Version: 1.0 In-Reply-To: References: <1368473874-9569-1-git-send-email-laurent.navet@gmail.com> Date: Tue, 14 May 2013 21:56:17 +0800 Message-ID: Subject: Re: [PATCH] net: ethernet: freescale: use devm_ioremap_resource() From: Frank Li To: Laurent Navet Cc: David Miller , "Frank.Li@freescale.com" , Fabio Estevam , Shawn Guo , joe@perches.com, "netdev@vger.kernel.org" , kernel list Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 514 Lines: 15 2013/5/14 Laurent Navet : > struct resource *res) > { > ... > if (!res || resource_type(res) != IORESOURCE_MEM) { > dev_err(dev, "invalid resource\n"); > return ERR_PTR(-EINVAL); Okay, thanks. Acked -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/