All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: versatile: drop warnings
Date: Tue, 30 Aug 2011 11:31:28 +0200	[thread overview]
Message-ID: <4E5CADF0.4030008@aribaud.net> (raw)
In-Reply-To: <1314694194-11988-1-git-send-email-sbabic@denx.de>

Hi Stefano,

Le 30/08/2011 10:49, Stefano Babic a ?crit :
> Drop warning: "passing argument 1 of 'get_ram_size'
> discards qualifiers from pointer target type"
>
> Signed-off-by: Stefano Babic<sbabic@denx.de>
> CC: Albert Aribaud<albert.u.boot@aribaud.net>
> ---
>   board/armltd/versatile/versatile.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/board/armltd/versatile/versatile.c b/board/armltd/versatile/versatile.c
> index ee8cb5e..4a5c31d 100644
> --- a/board/armltd/versatile/versatile.c
> +++ b/board/armltd/versatile/versatile.c
> @@ -94,7 +94,7 @@ int misc_init_r (void)
>   int dram_init (void)
>   {
>   	/* dram_init must store complete ramsize in gd->ram_size */
> -	gd->ram_size = get_ram_size((volatile void *)CONFIG_SYS_SDRAM_BASE,
> +	gd->ram_size = get_ram_size((void *)CONFIG_SYS_SDRAM_BASE,
>   				PHYS_SDRAM_1_SIZE);
>   	return 0;
>   }

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.

      reply	other threads:[~2011-08-30  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-30  8:49 [U-Boot] [PATCH] ARM: versatile: drop warnings Stefano Babic
2011-08-30  9:31 ` Albert ARIBAUD [this message]

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=4E5CADF0.4030008@aribaud.net \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.