powerpc: fix size calculation using resource_size()
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Aug 13 21:23:13 AEST 2018
On Wed, 2018-08-08 at 11:57:24 UTC, Dan Carpenter wrote:
> 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 <dan.carpenter at oracle.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c42d3be0c06f0c1c416054022aa535
cheers
More information about the Linuxppc-dev
mailing list