Re: [trivial PATCH 2/2] arm: mach-u300/gpio: Fix mem_region resourcesize miscalculations

From: Linus Walleij
Date: Wed Mar 23 2011 - 16:07:32 EST


2011/3/23 Joe Perches <joe@xxxxxxxxxxx>:

> Convert off-by-1 r->end - r->start to resource_size(r)
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Oh man, there was one of these lurking in my own beloved mach-u300.
How embarrassing. Thanks for catching!

Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij
--
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/