From: "Andreas Bießmann" <biessmann@corscience.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] common/cmd_bdinfo.c: fix do_bdinfo() for AVR32
Date: Wed, 9 Feb 2011 15:10:31 +0100 [thread overview]
Message-ID: <1297260631-13864-4-git-send-email-biessmann@corscience.de> (raw)
In-Reply-To: <1297260631-13864-1-git-send-email-biessmann@corscience.de>
This patch fixes following warning message:
---8<---
cmd_bdinfo.c:458: warning: initialization from incompatible pointer type
--->8---
There was a prototype change in 54841ab50c20d6fa6c9cc3eb826989da3a22d934 for
argv[] pointer type to const. This change was not made for AVR32 cause this
code came in later by a merge.
Signed-off-by: Andreas Bie?mann <biessmann@corscience.de>
---
common/cmd_bdinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index bba7374..1d76ffa 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -304,7 +304,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#elif defined(CONFIG_AVR32)
-int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
bd_t *bd = gd->bd;
--
1.7.2.3
next prev parent reply other threads:[~2011-02-09 14:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 14:10 [U-Boot] [PATCH 0/3] Get AVR32 boards working with partial linking Andreas Bießmann
2011-02-09 14:10 ` [U-Boot] [PATCH 1/3] cmd_nvedit: use explicit typecast for printf Andreas Bießmann
2011-04-12 19:44 ` Wolfgang Denk
2011-02-09 14:10 ` [U-Boot] [PATCH 2/3] avr32: fix linking Andreas Bießmann
2011-04-18 10:53 ` Reinhard Meyer
2011-02-09 14:10 ` Andreas Bießmann [this message]
2011-04-12 19:46 ` [U-Boot] [PATCH 3/3] common/cmd_bdinfo.c: fix do_bdinfo() for AVR32 Wolfgang Denk
2011-02-09 15:11 ` [U-Boot] [PATCH 0/3] Get AVR32 boards working with partial linking Reinhard Meyer
2011-04-12 19:46 ` Wolfgang Denk
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=1297260631-13864-4-git-send-email-biessmann@corscience.de \
--to=biessmann@corscience.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox