diff options
author | Dan Carpenter <error27@gmail.com> | 2010-07-01 00:12:01 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-01 00:12:01 +0400 |
commit | 7e307c7ad5340b226966da6e564ec7f717da3adb (patch) | |
tree | f9e6d1a1fb34dc37cf45ac8dbf2c6eb45725ab74 /drivers/uwb | |
parent | 504f85c9d05f7c605306e808f0d835fe11bfd18d (diff) | |
download | linux-7e307c7ad5340b226966da6e564ec7f717da3adb.tar.xz |
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 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions