DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Xie, Huawei" <huawei.xie@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] lib/librte_vhost: code style fixes
Date: Wed, 05 Nov 2014 23:06:42 +0100	[thread overview]
Message-ID: <2781109.5j1Vc3hjvo@xps13> (raw)
In-Reply-To: <C37D651A908B024F974696C65296B57B0F2E2498@SHSMSX101.ccr.corp.intel.com>

2014-11-05 21:55, Xie, Huawei:
> > 2014-11-05 21:21, Xie, Huawei:
> Btw, for alignment in structure,  I see different projects use different way,
> some use tab, and some use space(between type and var), do we have rules for this?
> {
> 	Type 	var1
> 	Type 	var2
> }

I prefer using spaces for such alignments. But Linux style is to use a mix of
tab and space with tab being equivalent to 8 spaces.
We have to write clear rules about such things and have our own checkpatch.
For release 1.8, we still don't care about this level of details.
Please let's re-open this topic after the release.

-- 
Thomas

  reply	other threads:[~2014-11-05 21:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05 17:03 Huawei Xie
2014-11-05 20:41 ` Thomas Monjalon
2014-11-05 21:21   ` Xie, Huawei
2014-11-05 21:25     ` Thomas Monjalon
2014-11-05 21:55       ` Xie, Huawei
2014-11-05 22:06         ` Thomas Monjalon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-11-05  4:42 Huawei Xie
2014-11-05  9:09 ` Thomas Monjalon
2014-11-05 17:07   ` Xie, Huawei
2014-11-05  4:40 Huawei Xie

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=2781109.5j1Vc3hjvo@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=huawei.xie@intel.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).