[U-Boot-Users] Compilation warning in common/cmd_ide.c

Stefan Roese sr at denx.de
Wed Nov 7 10:49:31 CET 2007


Hi Marcel,

Commit 2a4741d9a14ec475f50e9856d2c0a67e8b4271bd "[PATCH] fix pxa255_idp board"
maybe fixes a problem on ARM boards, but unfortunately introduces a
compile warning on PPC platforms like CPCI405:

cmd_ide.c: In function 'ide_ident':
cmd_ide.c:1139: warning: pointer targets in passing argument 1 of 'ident_cpy' differ in signedness
cmd_ide.c:1140: warning: pointer targets in passing argument 1 of 'ident_cpy' differ in signedness
cmd_ide.c:1141: warning: pointer targets in passing argument 1 of 'ident_cpy' differ in signedness

I'm wondering if you see this warning on your ARM platform too. Could
you please recheck and perhaps revert this patch? Is this change in part.h
really needed? Does it fix an existing problem?

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list