From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] console_buffer
Date: Wed, 24 Mar 2010 13:00:28 -0700 [thread overview]
Message-ID: <4BAA6F5C.5060002@gmail.com> (raw)
In-Reply-To: <ac9c93b11003241252x690c1934ra3fb28fea71ece2@mail.gmail.com>
Hi Frans,
On 3/24/2010 12:52 PM, Frans Meulenbroeks wrote:
> yet another potential cleanup:
>
> I see both:
> extern char console_buffer[];
> and
> extern char console_buffer[CONFIG_SYS_CBSIZE];
>
> (and in fact console_buffer is declared as:
> char console_buffer[CONFIG_SYS_CBSIZE + 1]; /* console I/O buffer */
> so with a +1).
>
> Questions:
> is the first or the 2nd form preferred?
> and if it is the 2nd form should it not have the +1?
> and wouldn't it be better to have this extern in a .h file (and if so
> which one)?
>
>
Your interest is definitely appreciated. As a general remark, you're
more likely to get meaningful feedback if you just submit what you think
is best. You'll get more feedback when people don't like what you did,
but any EE will tell you that negative feedback is the path to stability :)
> Frans
>
regards,
Ben
next prev parent reply other threads:[~2010-03-24 20:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-24 19:52 [U-Boot] console_buffer Frans Meulenbroeks
2010-03-24 20:00 ` Ben Warren [this message]
[not found] ` <ac9c93b11003241320u5b0723f1uc9850243110fdf1f@mail.gmail.com>
2010-03-24 20:25 ` Frans Meulenbroeks
2010-03-25 8:31 ` Detlev Zundel
2010-03-24 21:08 ` Wolfgang Denk
2010-03-24 21:12 ` Ben Warren
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=4BAA6F5C.5060002@gmail.com \
--to=biggerbadderben@gmail.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