aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-06-30 13:12:01 -0700
committerDavid S. Miller <davem@davemloft.net>2010-06-30 13:12:01 -0700
commit7e307c7ad5340b226966da6e564ec7f717da3adb (patch)
treef9e6d1a1fb34dc37cf45ac8dbf2c6eb45725ab74 /net/ipv6
parentact_nat: use stack variable (diff)
downloadlinux-dev-7e307c7ad5340b226966da6e564ec7f717da3adb.tar.xz
linux-dev-7e307c7ad5340b226966da6e564ec7f717da3adb.zip
cpmac: use resource_size()
The original code is off by one because we should start counting at zero. So the size of the resource is end - start + 1. I switched it to use 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 'net/ipv6')
0 files changed, 0 insertions, 0 deletions