[PATCH 2/5] ARM: mach-shmobile: fix memory size for kota2_defconfig

Olof Johansson olof at lixom.net
Fri Jan 11 13:07:00 EST 2013


On Thu, Jan 10, 2013 at 11:17 PM, Simon Horman
<horms+renesas at verge.net.au> wrote:
> The CONFIG_MEMORY_SIZE value is interpreted as a 32 bit integer, which
> makes sense on a system without PAE. It appears that a trailing 0 was
> appended to the value and after some testing it appears that 0x1e000000 is
> the correct value.
>
> Without this patch, building kota2_defconfig results in:
>
> /home/arnd/linux-arm/arch/arm/kernel/setup.c:790:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
>
> Reported-by: Arnd Bergmann <arnd at arndb.de>
> Cc: Olof Johansson <olof at lixom.net>
> Signed-off-by: Simon Horman <horms+renesas at verge.net.au>

Acked-by: Olof Johansson <olof at lixom.net>

Or is this the only fix you have right now, so I should just apply it directly?

-Olof



More information about the linux-arm-kernel mailing list