[trivial PATCH 2/2] arm: mach-u300/gpio: Fix mem_region resource size miscalculations

Jiri Kosina jkosina at suse.cz
Sun Apr 10 11:07:45 EDT 2011


On Wed, 23 Mar 2011, Linus Walleij wrote:

> 2011/3/23 Joe Perches <joe at perches.com>:
> 
> > Convert off-by-1 r->end - r->start to resource_size(r)
> >
> > Signed-off-by: Joe Perches <joe at perches.com>
> 
> 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 at linaro.org>

As I don't see it in today's linux-next, I have picked it up. Thanks,

-- 
Jiri Kosina
SUSE Labs, Novell Inc.




More information about the linux-arm-kernel mailing list