From: horms@verge.net.au (Simon Horman) Date: Tue, 15 Jan 2013 08:56:17 +0900 Subject: [PATCH 2/5] ARM: mach-shmobile: fix memory size for kota2_defconfig In-Reply-To: References: <1357888626-4946-1-git-send-email-horms+renesas@verge.net.au> <1357888626-4946-3-git-send-email-horms+renesas@verge.net.au> Message-ID: <20130114235614.GA7185@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Jan 11, 2013 at 10:07:00AM -0800, Olof Johansson wrote: > On Thu, Jan 10, 2013 at 11:17 PM, Simon Horman > 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 > > Cc: Olof Johansson > > Signed-off-by: Simon Horman > > Acked-by: Olof Johansson > > Or is this the only fix you have right now, so I should just apply it directly? As far as I know the change does not appear to have any affect at run-time, at least for the default config. So there is no particular rush. I'll include this as part of a pull request a little later today.