From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] PATCH for cmd_mem.c:do_mem_mtest()
Date: Wed, 14 Sep 2005 10:09:47 +0200 [thread overview]
Message-ID: <20050914080947.GA22280@orphique> (raw)
In-Reply-To: <20050913180425.5DE52352B8B@atlas.denx.de>
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
next prev parent reply other threads:[~2005-09-14 8:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 16:09 [U-Boot-Users] PATCH for cmd_mem.c:do_mem_mtest() Andrew Dyer
2005-09-13 16:18 ` Wolfgang Denk
2005-09-13 16:31 ` Ladislav Michl
2005-09-13 18:04 ` Wolfgang Denk
2005-09-13 19:26 ` [U-Boot-Users] ppcboot_stage2 manju mahajan
2005-10-03 16:52 ` Sam Pham
2005-10-03 19:37 ` Wolfgang Denk
2005-10-04 15:49 ` Sam Pham
2005-09-14 8:09 ` Ladislav Michl [this message]
2006-07-22 19:03 ` [U-Boot-Users] PATCH for cmd_mem.c:do_mem_mtest() Wolfgang Denk
2005-09-13 16:55 ` Andrew Dyer
2005-09-13 18:27 ` Wolfgang Denk
2005-09-13 18:43 ` Jerry Van Baren
2005-09-13 19:54 ` Wolfgang Denk
2005-09-13 20:08 ` Jerry Van Baren
2005-09-13 20:26 ` Andrew Dyer
2005-09-13 21:08 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050914080947.GA22280@orphique \
--to=ladis@linux-mips.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox