[U-Boot-Users] [PATCH] fix warnings in board/versatile/flash.c

Steven Scholz steven.scholz at imc-berlin.de
Mon Oct 18 09:58:25 CEST 2004


Dear Wolfgang,

>>CHANGELOG:
>>Fix typo and warning in board/versatile/flash.c
> 
> 
> Please check again.
> This is already fixed in CVS.

Yes. Sorry. I just noticed that.

>>-		printf ("not erased at %08lx (%x)\n", (ulong) addr, *addr);
>>+		printf ("not erased at %08lx (%lx)\n", (ulong) addr, *addr);
> 
> I don't get a warning for this code, neither with GCC-2.95.4 nor with
> GCC-3.3.3. Which toolchain are you using, and what  is  the  error  /
> warning message?

I am using arm_920TDI-gcc Version 2.95.4 from you ELDK 2.1 and get

flash.c: In function `write_data':
flash.c:479: warning: unsigned int format, long unsigned int arg (arg 3)

--
Steven Scholz




More information about the U-Boot mailing list