diff mbox

[v2,2/5] powerpc/xics: Fully qualify cast to silence sparse

Message ID 1468284892-27765-2-git-send-email-dja@axtens.net (mailing list archive)
State Rejected
Headers show

Commit Message

Daniel Axtens July 12, 2016, 12:54 a.m. UTC
Make the cast fully line up with what out_rm8 expects.

Signed-off-by: Daniel Axtens <dja@axtens.net>

---

v2: Fix issues identified by Arnd.
---
 arch/powerpc/sysdev/xics/icp-native.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/powerpc/sysdev/xics/icp-native.c b/arch/powerpc/sysdev/xics/icp-native.c
index afdf62f2a695..6e47ddd374b2 100644
--- a/arch/powerpc/sysdev/xics/icp-native.c
+++ b/arch/powerpc/sysdev/xics/icp-native.c
@@ -176,7 +176,7 @@  void icp_native_cause_ipi_rm(int cpu)
 	 * causing the IPI.
 	 */
 	xics_phys = paca[cpu].kvm_hstate.xics_phys;
-	out_rm8((u8 *)(xics_phys + XICS_MFRR), IPI_PRIORITY);
+	out_rm8((u8 __iomem *)(xics_phys + XICS_MFRR), IPI_PRIORITY);
 }
 #endif