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

Kukjin Kim kgene.kim at samsung.com
Sun Jun 22 18:14:37 PDT 2014


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?

- Kukjin




More information about the linux-arm-kernel mailing list