Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630AbZLaUy6 (ORCPT ); Thu, 31 Dec 2009 15:54:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751524AbZLaUy6 (ORCPT ); Thu, 31 Dec 2009 15:54:58 -0500 Received: from casper.infradead.org ([85.118.1.10]:40044 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898AbZLaUy5 (ORCPT ); Thu, 31 Dec 2009 15:54:57 -0500 Subject: Re: [PATCH] drivers/mtd/nand/gpio.c: use resource_size() From: David Woodhouse To: H Hartley Sweeten Cc: kernel list , linux-mtd@lists.infradead.org In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 31 Dec 2009 20:54:41 +0000 Message-ID: <1262292881.3181.5632.camel@macbook.infradead.org> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 (2.28.2-1.fc12) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 781 Lines: 19 On Mon, 2009-12-14 at 16:30 -0500, H Hartley Sweeten wrote: > > - release_mem_region(res0->start, res0->end - res0->start + 1); > + release_mem_region(res0->start, resouce_size(res0)); That's not going to compile. I fixed it up. Every patch in this batch failed to apply cleanly with git-am, too -- there was something odd about the whitespace at the end of each one. -- David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation -- 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/