[PATCH] ARM: exynos: Fix warning by constifying 'reg' in exynos_fdt_map_chipid()
Sachin Kamat
sachin.kamat at samsung.com
Wed Jun 11 21:49:17 PDT 2014
Hi Viresh,
On Thu, Jun 12, 2014 at 10:04 AM, Viresh Kumar <viresh.kumar at linaro.org> wrote:
> Fix Sachin's id, looks like he left Linaro ..
>
> On 12 June 2014 10:00, Viresh Kumar <viresh.kumar at linaro.org> wrote:
>> exynos_fdt_map_chipid() was recently added with: cbf08b9 (ARM: EXYNOS:
>> Consolidate exynos4 and exynos5 machine files) and generates this warning:
>>
>> arch/arm/mach-exynos/exynos.c: In function ‘exynos_fdt_map_chipid’:
>> arch/arm/mach-exynos/exynos.c:208:6: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
>>
>> Constify 'reg' to fix it.
>>
>> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
I have already posted a patch [1] to fix this.
Kukjin, can you please queue this up.
[1] http://www.spinics.net/lists/arm-kernel/msg328216.html
More information about the linux-arm-kernel
mailing list