[U-Boot-Users] [PATCH] esd: Fix warning: passing argument 1 of 'fpga_boot' discards qualifiers from pointer target type

8 Mar
2008
8 Mar
'08
9:30 p.m.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com
diff --git a/board/esd/common/fpga.c b/board/esd/common/fpga.c index ad56402..aab5509 100644 --- a/board/esd/common/fpga.c +++ b/board/esd/common/fpga.c @@ -92,7 +92,7 @@ #endif
-static int fpga_boot(unsigned char *fpgadata, int size) +static int fpga_boot(const unsigned char *fpgadata, int size) { int i,index,len; int count;
--
1.5.4.1

8 Mar
8 Mar
10:36 p.m.
In message 1205008204-21678-1-git-send-email-plagnioj@jcrosoft.com you wrote:
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagnioj@jcrosoft.com
diff --git a/board/esd/common/fpga.c b/board/esd/common/fpga.c
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Even historians fail to learn from history -- they repeat the same
mistakes.
-- John Gill, "Patterns of Force", stardate 2534.7
6277
Age (days ago)
6277
Last active (days ago)
1 comments
2 participants
participants (2)
-
Jean-Christophe PLAGNIOL-VILLARD
-
Wolfgang Denk