powerpc/powernv: Fix data type for @r in pnv_ioda_parse_m64_window()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 2 Aug 2016 04:10:35 +0000 (14:10 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Oct 2016 05:30:28 +0000 (16:30 +1100)
commit0e7736c6b806b24c693367196a076c78328ed742
tree8e85c0b8ee9cb657a664698cdee11f470474776f
parent5adaf8629b193f185ca5a1665b9e777a0579f518
powerpc/powernv: Fix data type for @r in pnv_ioda_parse_m64_window()

This fixes warning reported from sparse:

  pci-ioda.c:451:49: warning: incorrect type in argument 2 (different base types)

Fixes: 262af557dd75 ("powerpc/powernv: Enable M64 aperatus for PHB3")
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c