diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-09-18 12:22:32 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-10-08 16:15:58 +0300 |
commit | 494f238a3861863d908af7b98a369f6d8a986c85 (patch) | |
tree | a9273c740f7b36554e33e9dc7cb8141261db696d /arch/powerpc/platforms/powermac | |
parent | c45361abb9185b1e172bd75eff51ad5f601ccae4 (diff) | |
download | linux-494f238a3861863d908af7b98a369f6d8a986c85.tar.xz |
powerpc/476: Fix sparse report
Fix sparse errors:
arch/powerpc/platforms/44x/ppc476.c:236:17: warning: cast removes address space '__iomem' of expression
arch/powerpc/platforms/44x/ppc476.c:241:34: warning: incorrect type in argument 1 (different address spaces)
arch/powerpc/platforms/44x/ppc476.c:241:34: expected void const volatile [noderef] __iomem *addr
arch/powerpc/platforms/44x/ppc476.c:241:34: got unsigned char [usertype] *
arch/powerpc/platforms/44x/ppc476.c:243:17: warning: incorrect type in argument 1 (different address spaces)
arch/powerpc/platforms/44x/ppc476.c:243:17: expected void volatile [noderef] __iomem *addr
arch/powerpc/platforms/44x/ppc476.c:243:17: got unsigned char [usertype] *[assigned] fpga
Mark 'fpga' pointer as __iomem.
Fixes: ab9a4183fddf ("powerpc: Update currituck pci/usb fixup for new board revision")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/aa6055769b92a5d8685b8d0adab99c48a0b0ef4b.1631956926.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/platforms/powermac')
0 files changed, 0 insertions, 0 deletions