From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] mgcoge, mgsuvd: added support for the IVM EEprom.
Date: Mon, 29 Sep 2008 07:49:04 -0400 [thread overview]
Message-ID: <48E0C0B0.5090707@ge.com> (raw)
In-Reply-To: <20080929091014.755A724851@gemini.denx.de>
Wolfgang Denk wrote:
> Dear Heiko Schocher,
>
> In message <48E08A41.1090708@denx.de> you wrote:
>> The EEprom contains some Manufacturerinformation,
>> which are read from u-boot at boot time, and saved
>> in same Environmentvars.
>>
>> Signed-off-by: Heiko Schocher <hs@denx.de>
[snip]
>> +{
>> + int xcode = 0;
>> + BTChar cr = '\r';
>> + /* Semikolon char */
>> + BTChar sc = ';';
>
> Come on. Do we really need variables for these? And do you think that
> "sc" is easier to read or understand than ';'?
>
> Please drop these.
>
>> + /* Number of CR found */
>> + unsigned long crFound = 0;
>> + /* Current address */
>> + unsigned long address = INVENTORYDATAADDRESS;
>> + /* String length */
>> + unsigned long strSize = 0;
>> + /* Number of CR to skip */
>> + unsigned long nbrOfCR = aType;
>> + /* Semicolon to end */
>> + int endWithSemikolon = 0;
Nitpick: s/kolon/colon/ (several places). The mixture of English and
German is jarring.
Best regards,
gvb
next prev parent reply other threads:[~2008-09-29 11:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-29 7:56 [U-Boot] [PATCH] mgcoge, mgsuvd: added support for the IVM EEprom Heiko Schocher
2008-09-29 9:10 ` Wolfgang Denk
2008-09-29 9:57 ` Heiko Schocher
2008-09-29 11:49 ` Jerry Van Baren [this message]
2008-10-14 16:32 ` 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=48E0C0B0.5090707@ge.com \
--to=gerald.vanbaren@ge.com \
--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