diff options
author | Dan Carpenter <[email protected]> | 2018-08-08 14:57:24 +0300 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2018-08-10 22:12:33 +1000 |
commit | c42d3be0c06f0c1c416054022aa535c08a1f9b39 (patch) | |
tree | e9aa55a3f2c35a300251b5defaeb9c54118574d2 /arch/powerpc/include/asm/hugetlb.h | |
parent | 24576a70e7dfa703617a5e7ae8e6cbd66cfb6e5d (diff) |
powerpc: Fix size calculation using resource_size()
The problem is the the calculation should be "end - start + 1" but the
plus one is missing in this calculation.
Fixes: 8626816e905e ("powerpc: add support for MPIC message register API")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Tyrel Datwyler <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/include/asm/hugetlb.h')
0 files changed, 0 insertions, 0 deletions