diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 19:20:58 +0900 |
---|---|---|
committer | Kukjin Kim <kgene@kernel.org> | 2015-07-21 13:19:06 +0900 |
commit | 2cc6b813579415c4f627b08a043079bdc5b87a33 (patch) | |
tree | dd3654dd7ad966d7988624b766f520e54e897134 /fs | |
parent | 65e3293381e1cf1abcfe1aa22b914650a40e3af4 (diff) |
ARM: EXYNOS: Use IOMEM_ERR_PTR when function returns iomem
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions