[dpdk-dev] [PATCH] lib/librte_vhost: code style fixes

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Nov 5 23:06:42 CET 2014


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


More information about the dev mailing list