# \[trivial PATCH 1/2\] treewide: Fix iomap resource size miscalculations

- From: Linus Walleij \<hidden\>
- Date: 2011-03-23 20:11:18 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2011/03/3693555
- Thread: https://ratatoskr.run/linux-arm-kernel/2011/03/3693545/t.md

```text
2011/3/23 Joe Perches [ref]:

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

Acked-by: Linus Walleij <redacted>
(for ux500)

Yours,
Linus Walleij
```
