
13 Sep
2005
13 Sep
'05
6:31 p.m.
On Tue, Sep 13, 2005 at 06:18:56PM +0200, Wolfgang Denk wrote:
ChangeLog:
- Patch by Andrew Dyer, 13 September 2005:
if CFG_ALT_MEMTEST is defined without CFG_MEMTEST_SCRATCH, cmd_mem.c code will dereference a null pointer. Change
No, it does not. It just points to address 0x0000. This is a perfectly valid address on many systems.
I sent patch to mailing list few months ago which changes NULL to 0x00000000 and adds some comment to avoid such confusion (I burned my fingers the same way :-)).
ftp://ftp.linux-mips.org/pub/linux/mips/people/ladis/u-boot/cmd_mem_dummy_addr.diff
Best regards, ladis