summaryrefslogtreecommitdiff
path: root/drivers/soc/versatile
diff options
context:
space:
mode:
authorStefan Hengelein <stefan.hengelein@fau.de>2014-10-19 21:49:45 +0400
committerArnd Bergmann <arnd@arndb.de>2014-10-29 00:04:01 +0300
commitf267ea0fe05123e8101e5793d977b537924939a0 (patch)
tree6bc49b30bb4f1f92f99220ca66348282adc255f6 /drivers/soc/versatile
parentf0fd9ad87e698d634ab5894f751b7af908e96a41 (diff)
downloadlinux-f267ea0fe05123e8101e5793d977b537924939a0.tar.xz
ARM: ixp4xx: remove compilation warnings in io.h
When arch/arm/mach-ixp4xx/common-pci.c is compiled, two warnings occur: arch/arm/mach-ixp4xx/include/mach/io.h:144: warning: passing argument 1 of '__raw_readb' makes pointer from integer without a cast arch/arm/mach-ixp4xx/include/mach/io.h:79: warning: passing argument 2 of '__raw_writeb' makes pointer from integer without a cast Both functions expect an 'volatile void __iomem *' but get an u32. The 'u32 addr' variable is initialized with the address of an 'volatile void __iomem *' pointer. Passing the pointer directly, avoids the warning and semantics are preserved. This warning was found with vampyr. Signed-off-by: Stefan Hengelein <stefan.hengelein@fau.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc/versatile')
0 files changed, 0 insertions, 0 deletions