* [U-Boot-Users] [PATCH] fix warnings in board/versatile/flash.c
@ 2004-10-18 7:06 Steven Scholz
2004-10-18 7:52 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Steven Scholz @ 2004-10-18 7:06 UTC (permalink / raw)
To: u-boot
CHANGELOG:
Fix typo and warning in board/versatile/flash.c
--
Steven
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_warning_versatile.patch
Url: http://lists.denx.de/pipermail/u-boot/attachments/20041018/fe5acc71/attachment.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] fix warnings in board/versatile/flash.c
2004-10-18 7:06 [U-Boot-Users] [PATCH] fix warnings in board/versatile/flash.c Steven Scholz
@ 2004-10-18 7:52 ` Wolfgang Denk
2004-10-18 7:58 ` Steven Scholz
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2004-10-18 7:52 UTC (permalink / raw)
To: u-boot
Dear Steven,
in message <41736B80.1090903@imc-berlin.de> you wrote:
>
> CHANGELOG:
> Fix typo and warning in board/versatile/flash.c
Please check again.
> - printf ("\Intel StrataFlash 28F256K3C device initialized\n");
> + printf ("Intel StrataFlash 28F256K3C device initialized\n");
This is already fixed in CVS.
> - 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?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Why is an average signature file longer than an average Perl script??
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] fix warnings in board/versatile/flash.c
2004-10-18 7:52 ` Wolfgang Denk
@ 2004-10-18 7:58 ` Steven Scholz
0 siblings, 0 replies; 3+ messages in thread
From: Steven Scholz @ 2004-10-18 7:58 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-10-18 7:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18 7:06 [U-Boot-Users] [PATCH] fix warnings in board/versatile/flash.c Steven Scholz
2004-10-18 7:52 ` Wolfgang Denk
2004-10-18 7:58 ` Steven Scholz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox