git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
140a1ef
)
treewide: Convert uses of struct resource to resource_size(ptr)
author
Joe Perches
<joe@perches.com>
Thu, 9 Jun 2011 16:13:32 +0000
(09:13 -0700)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 10 Jun 2011 12:55:36 +0000
(14:55 +0200)
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 <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
No differences found