commit | 7c5365bca33194092e0a094b34b268283022a1a1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Mon Mar 22 02:11:11 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 22 18:33:10 2010 -0700 |
tree | 0b9aa0493c5b074c083d00ad218ff6053708273e | |
parent | d2ba2ed8fe3aa796a671a6922119d7171bb49515 [diff] |
stmmac: use resource_size() The size calculation is not correct. It should be end - start + 1. Use resource_size() to calculate it instead. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>