From mboxrd@z Thu Jan 1 00:00:00 1970 From: DENX Support System Date: Sat, 1 Apr 2006 03:20:02 +0200 Subject: [DNX#2006040142001472] [U-Boot-Users] PATCH for cmd_mem.c:do_mem_mtest() Message-ID: <1143854402.280457.211136973@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040142001472] was created: > 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, > ladis > > > ------------------------------------------------------- > 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 Your U-Boot support team