Tag: 28f65c11f2ffb3957259dece647a24f8ad2e241b

treewide: Convert uses of struct resource to resource_size(ptr)

Author: Joe Perches <joe@perches.com> Several fixes as well where the +1 was missing. Done via coccinelle scripts like: @@ struct resource *ptr; @@ – ptr->end – ptr->start + 1 + resource_size(ptr) and some grep and typing. Mostly uncompiled, no cross-compilers. Signed-off-by: Joe Perches Signed-off-by: Jiri Kosina — arch/arm/common/scoop.c | 2 +- arch/arm/mach-at91/at91sam9261_devices.c | 2 +- …

Continue reading