git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e3293
)
ARM: EXYNOS: Use IOMEM_ERR_PTR when function returns iomem
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Fri, 10 Jul 2015 10:20:58 +0000
(19:20 +0900)
committer
Kukjin Kim
<kgene@kernel.org>
Tue, 21 Jul 2015 04:19:06 +0000
(13:19 +0900)
Function returns 'void __iomem *' so use IOMEM_ERR_PTR for returning
an error. This fixes sparse warning:
arch/arm/mach-exynos/platsmp.c:185:31: warning: incorrect type in return expression (different address spaces)
arch/arm/mach-exynos/platsmp.c:185:31: expected void [noderef] <asn:2>*
arch/arm/mach-exynos/platsmp.c:185:31: got void *
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-exynos/platsmp.c
patch
|
blob
|
history
diff --cc
arch/arm/mach-exynos/platsmp.c
Simple merge