[PATCH] drivers/mtd/nand/gpio.c: use resource_size()
David Woodhouse
dwmw2 at infradead.org
Thu Dec 31 15:54:41 EST 2009
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 at intel.com Intel Corporation
More information about the linux-mtd
mailing list