From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] lib/librte_vhost: code style fixes Date: Wed, 05 Nov 2014 23:06:42 +0100 Message-ID: <2781109.5j1Vc3hjvo@xps13> References: <1415206995-1086-1-git-send-email-huawei.xie@intel.com> <2088055.shkfIhmk6J@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Xie, Huawei" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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