[U-Boot-Users] PATCH for cmd_mem.c:do_mem_mtest()

Ladislav Michl ladis at linux-mips.org
Wed Sep 14 10:09:47 CEST 2005

On Tue, Sep 13, 2005 at 08:04:25PM +0200, Wolfgang Denk wrote:
> 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,

More information about the U-Boot mailing list