[PATCH] ARM: exynos: Fix warning by constifying 'reg' in exynos_fdt_map_chipid()

Sachin Kamat sachin.kamat at samsung.com
Sun Jun 22 20:18:15 PDT 2014


On Mon, Jun 23, 2014 at 6:44 AM, Kukjin Kim <kgene.kim at samsung.com> wrote:
> Sachin Kamat wrote:
>>
>> 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
>
> + Arnd
>
> If I remember correctly, it should be queued by Arnd?
>
> Arnd, do you want me to take it?

This patch has now been merged into 3.16-rc2.

Regards,
Sachin.



More information about the linux-arm-kernel mailing list