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:
ddd0451
)
stmmac: use resource_size()
author
Dan Carpenter
<error27@gmail.com>
Thu, 8 Apr 2010 04:50:08 +0000
(21:50 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 8 Apr 2010 04:50:08 +0000
(21:50 -0700)
Resource size should be calculated as end - start + 1 because we start
counting at zero. I changed the code to resource_size() to do the
calculation.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found