From: Michael Buesch <mb@bu3sch.de>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: Kieran Mansley <kmansley@solarflare.com>,
xen-devel@lists.xensource.com, netdev@vger.kernel.org,
herbert@gondor.apana.org.au
Subject: Re: [Xen-devel] [PATCH 0/4] [Net] Support accelerated network plugin modules
Date: Fri, 15 Jun 2007 14:11:31 +0200 [thread overview]
Message-ID: <200706151411.31748.mb@bu3sch.de> (raw)
In-Reply-To: <C29835DB.931B%Keir.Fraser@cl.cam.ac.uk>
On Friday 15 June 2007 13:26:03 Keir Fraser wrote:
> On 15/6/07 11:46, "Kieran Mansley" <kmansley@solarflare.com> wrote:
>
> > This is a repost of some earlier patches to the xen-devel mailing list,
> > with a number of changes thanks to some useful suggestions from others.
>
> The coding style needs fixing in various ways.
>
> Hard tabs need to be used, no spaces inside brackets, but should include
> spaces between if/while/for and bracket, and bracket and brace:
> if (foo) {
> Not
> if( foo ){
> if(foo ) {
> Or various other possibilities.
>
> No use of the following please:
> If (foo) return 1; else return 0;
> Is clearer as:
> Return foo;
But it's not the same.
return !!foo;
would be the same. And yes, it does matter:
int x(void)
{
unsigned long long v = 0xFF0000000000ULL;
/*foo*/
return v;
}
--
Greetings Michael.
next prev parent reply other threads:[~2007-06-15 12:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-15 10:46 [PATCH 0/4] [Net] Support accelerated network plugin modules Kieran Mansley
2007-06-15 11:26 ` Keir Fraser
2007-06-15 12:11 ` Michael Buesch [this message]
2007-06-15 12:20 ` Keir Fraser
2007-06-15 12:21 ` [Xen-devel] " Michael Buesch
2007-06-15 12:29 ` Keir Fraser
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=200706151411.31748.mb@bu3sch.de \
--to=mb@bu3sch.de \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=herbert@gondor.apana.org.au \
--cc=kmansley@solarflare.com \
--cc=netdev@vger.kernel.org \
--cc=xen-devel@lists.xensource.com \
/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;
as well as URLs for NNTP newsgroup(s).