Skip to contentSkip to conversation

PATCH for cmd_mem.c:do_mem_mtest()

DNX#2006040142001472 DENX Support System 1 participant 1 message Apr 1, 2006

lore
Share & tools
lore
#0 lore raw

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040142001472] was created:

<snip>

Quoted 12 lines · Wolfgang Denk
Quoted 2 lines

We can write 0 or 0x0 or 000 or 0x00000 or (1 - 1) or NULL - all this does not change the behaviour of the code at all.

No doubt, but practice is to use NULL to mark invalid pointer, while address zero is simply "0". It won't affect generated code, but will make understanding it better.

Best regards,
ladis

Quoted 10 lines

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

</snip>

Your U-Boot support team