linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/5] ARM: mach-shmobile: fix memory size for kota2_defconfig
Date: Tue, 15 Jan 2013 00:49:32 +0000	[thread overview]
Message-ID: <1358210975-26970-3-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1358210975-26970-1-git-send-email-horms+renesas@verge.net.au>

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@arndb.de>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/configs/kota2_defconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/configs/kota2_defconfig b/arch/arm/configs/kota2_defconfig
index fa83db1..57ad3d4 100644
--- a/arch/arm/configs/kota2_defconfig
+++ b/arch/arm/configs/kota2_defconfig
@@ -21,7 +21,7 @@ CONFIG_ARCH_SHMOBILE=y
 CONFIG_KEYBOARD_GPIO_POLLED=y
 CONFIG_ARCH_SH73A0=y
 CONFIG_MACH_KOTA2=y
-CONFIG_MEMORY_SIZE=0x1e0000000
+CONFIG_MEMORY_SIZE=0x1e000000
 # CONFIG_SH_TIMER_TMU is not set
 # CONFIG_SWP_EMULATE is not set
 CONFIG_CPU_BPREDICT_DISABLE=y
-- 
1.7.10.4


  parent reply	other threads:[~2013-01-15  0:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01  1:02 [GIT PULL v2] Renesas ARM-based SoC defconfig for v3.8 Simon Horman
2012-11-01  1:02 ` [PATCH 1/3] ARM: shmobile: mackerel: defconfig update Simon Horman
2012-11-01  1:02 ` [PATCH 2/3] ARM: shmobile: armadillo800eva: enable L2X0 cache on defconfig Simon Horman
2013-02-22  4:46   ` [PATCH 2/3] ARM: shmobile: armadillo800eva: enable branch prediction " Kuninori Morimoto
2013-02-22 23:04   ` Simon Horman
2013-02-25  0:22   ` Kiyoshi Ishiyama
2013-02-25  0:34   ` Kuninori Morimoto
2013-03-01  9:41   ` Simon Horman
2012-11-01  1:02 ` [PATCH 3/3] ARM: shmobile: leave CONFIG_INOTIFY_USER enabled by default Simon Horman
2012-11-06  2:32 ` [GIT PULL v2] Renesas ARM-based SoC defconfig for v3.8 Simon Horman
2012-11-06  8:30   ` Arnd Bergmann
2012-11-06 14:19 ` Olof Johansson
2013-01-15  0:49 ` [GIT PULL v2] Renesas ARM-based SoC defconfig for v3.9 Simon Horman
2013-01-15  0:49   ` [PATCH 1/5] ARM: mach-shmobile: mackerel: update defconfig Simon Horman
2013-01-15  0:49   ` Simon Horman [this message]
2013-01-15  0:49   ` [PATCH 3/5] ARM: mach-shmobile: kzm9g: defconfig update Simon Horman
2013-01-15  0:49   ` [PATCH 4/5] ARM: mach-shmobile: armadillo: update defconfig Simon Horman
2013-01-15  0:49   ` [PATCH 5/5] ARM: mach-shmobile: kzm9d: " Simon Horman
2013-01-15  6:44   ` [GIT PULL v2] Renesas ARM-based SoC defconfig for v3.9 Olof Johansson
2013-01-16  4:01   ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2013-01-11  7:17 [PATCH 0/5] ARM: mach-shmobile: defconfig updates Simon Horman
2013-01-11  7:17 ` [PATCH 2/5] ARM: mach-shmobile: fix memory size for kota2_defconfig Simon Horman
2013-01-11 18:07   ` Olof Johansson
2013-01-14 23:56     ` Simon Horman
2013-01-16  6:02 [GIT PULL v3] Renesas ARM-based SoC defconfig for v3.9 Simon Horman
2013-01-16  6:02 ` [PATCH 2/5] ARM: mach-shmobile: fix memory size for kota2_defconfig Simon Horman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1358210975-26970-3-git-send-email-horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).