cing
off-by-one errors in calculating the resource size.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
//
@@
struct resource *res;
@@
- (res->end - res->start) + 1
+ resource_size(res)
//
Signed-off-by: Julia Lawall
Signed-off-by: Ben Dooks
×òÒë“&x