projects
/
profile
/
mobile
/
platform
/
kernel
/
linux-3.10-sc7730.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89fe2fa
)
ARM: mach-sc: remove cast to pointer from integer of different size
86/164286/1
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 18 Dec 2017 09:24:04 +0000
(18:24 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Mon, 18 Dec 2017 09:24:07 +0000
(18:24 +0900)
Remove build warnings from cast to pointer from integer of different size.
Change-Id: I8ac8ec85f07df647b850a12e0bf54e81e6fe66ec
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
arch/arm/mach-sc/include/mach/io.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-sc/include/mach/io.h
b/arch/arm/mach-sc/include/mach/io.h
index
a023948
..
7d7d1cb
100644
(file)
--- a/
arch/arm/mach-sc/include/mach/io.h
+++ b/
arch/arm/mach-sc/include/mach/io.h
@@
-19,7
+19,7
@@
#define IO_SPACE_LIMIT 0xffffffff
-#define __io(a) ((void __iomem *)(a))
+#define __io(a) ((void __iomem *)(
uintptr_t)(
a))
#define __mem_pci(a) (a)
#endif