Skip to content
Snippets Groups Projects
Commit b6222682 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

stmmac: use resource_size()


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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ddd0451f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment