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

Wolfgang Denk wd at denx.de
Sat Jul 22 21:03:51 CEST 2006


In message <20050914080947.GA22280 at orphique> you 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.

OK, applied.

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
...computer hardware progress is so fast. No other  technology  since
civilization  began  has seen six orders of magnitude in performance-
price gain in 30 years.                             - Fred Brooks, Jr.




More information about the U-Boot mailing list