From: Jean-Christophe PLAGNIOL-VILLARD Date: Mon, 19 Nov 2007 21:27:09 +0100 Subject: [U-Boot-Users] [PATCH 0/1] Fix warning: passing argument 1 of 'move64' discards qualifiers from pointer target type Message-ID: <1195504030-17994-1-git-send-email-plagnioj@jcrosoft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD diff --git a/post/drivers/memory.c b/post/drivers/memory.c index fbc349a..bf16157 100644 --- a/post/drivers/memory.c +++ b/post/drivers/memory.c @@ -207,7 +207,7 @@ static void move64(unsigned long long *src, unsigned long long *dest) * than the test pattern. This is for detecting floating bus lines. * */ -const static unsigned long long pattern[] = { +static unsigned long long pattern[] = { 0xaaaaaaaaaaaaaaaaULL, 0xccccccccccccccccULL, 0xf0f0f0f0f0f0f0f0ULL, @@ -221,7 +221,7 @@ const static unsigned long long pattern[] = { 0x3333333333333333ULL, 0x5555555555555555ULL }; -const unsigned long long otherpattern = 0x0123456789abcdefULL; +unsigned long long otherpattern = 0x0123456789abcdefULL; static int memory_post_dataline(unsigned long long * pmem) -- 1.5.3.2