Haavard Skinnemoen <[EMAIL PROTECTED]> wrote:
> Fix the following warning on avr32 and, from the looks of it, all other
> architectures except arm, blackfin and mips.
> 
> cmd_bdinfo.c: In function 'do_bdinfo':
> cmd_bdinfo.c:367: warning: format '%d' expects type 'int', but argument
> 2 has type 'long unsigned int'

Ah, bugger. I completely misparsed that file -- do_bdinfo is supposed
to be arch-specific, but avr32 uses the same implementation as MIPS for
some arbitrary reason. So this patch just makes things worse.

Please ignore. I'll fix it some other way.

Btw, how about moving this stuff into an arch-specific file?
lib_<arch>/bdinfo.c for example?

Haavard

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to