From: Wolfgang Denk Date: Fri, 21 Jul 2006 09:37:40 +0000 (+0200) Subject: Make code better readable. X-Git-Tag: U-Boot-1_1_5~80 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=029b6dc77c8533fe46d9402463487512831c0b29;p=oweals%2Fu-boot.git Make code better readable. Patch by Ladislav Michl, 14 Sep 2005 --- diff --git a/CHANGELOG b/CHANGELOG index 2cc55ae13d..b55f9124b9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Make code better readable. + Patch by Ladislav Michl, 14 Sep 2005 + * Enable initrd ATAG for xm250 board. Patch by Josef Wagner, 05 Sep 2005 diff --git a/common/cmd_mem.c b/common/cmd_mem.c index 0f4f9b73df..d0fae6b24c 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -707,7 +707,7 @@ int do_mem_mtest (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) #if defined(CFG_MEMTEST_SCRATCH) vu_long *dummy = (vu_long*)CFG_MEMTEST_SCRATCH; #else - vu_long *dummy = NULL; + vu_long *dummy = 0; /* yes, this is address 0x0, not NULL */ #endif int j; int iterations = 1;