diff options
author | Dan Carpenter <error27@gmail.com> | 2010-04-08 06:50:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-08 06:50:08 +0200 |
commit | b62226826b4ea1926b644b5a337ffa6b637d4870 (patch) | |
tree | b71b2447cff878044a7afa54bb2cbf73219467a2 /Documentation/networking | |
parent | x.25 attempts to negotiate invalid throughput (diff) | |
download | linux-b62226826b4ea1926b644b5a337ffa6b637d4870.tar.xz linux-b62226826b4ea1926b644b5a337ffa6b637d4870.zip |
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: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
0 files changed, 0 insertions, 0 deletions