Re: [PATCH] drivers/mtd/nand/gpio.c: use resource_size()

From: David Woodhouse
Date: Thu Dec 31 2009 - 15:55:25 EST


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@xxxxxxxxx Intel Corporation

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/