From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [2001:6f8:1178:4:290:27ff:fe1d:cc33] (helo=metis.ext.pengutronix.de) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1NSnsn-0007Ue-IA for linux-mtd@lists.infradead.org; Thu, 07 Jan 2010 08:38:18 +0000 Date: Thu, 7 Jan 2010 09:37:29 +0100 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: H Hartley Sweeten Subject: Re: [PATCH] mtd/nand: Fix build failure caused by typo Message-ID: <20100107083729.GB7413@pengutronix.de> References: <201001070301.58260.PeterHuewe@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: Nicolas Pitre , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Peter =?iso-8859-1?Q?H=FCwe?= , David Woodhouse , Andrew Morton List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hello, > > This patch fixes a build failure[1] introduced by the patch > > mtd: orion_nand.c: add error handling and use resource_size() > > by H Hartley Sweeten [2] > > The patch assigns something to a undeclared variable 'err', whereas the > > rest of the code uses 'ret' for this task. > > > > This patch fixes this typo and thus removes the build failure. Acked-by: Uwe Kleine-König Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |