From: "Jan Beulich" Subject: Re: [PATCH] numa.c: use spaces instead of tabs Date: Wed, 03 Sep 2014 13:29:50 +0100 Message-ID: <540725DE0200007800030453@mail.emea.novell.com> References: <1409717890-2837-1-git-send-email-ufimtseva@gmail.com> <1409737969.2673.35.camel@Solace.lan> <54070330020000780003029A@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Elena Ufimtseva Cc: Keir Fraser , Ian Campbell , George Dunlap , Dario Faggioli , Ian Jackson , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 03.09.14 at 13:59, wrote: > Jan, you say that such style is not used.. But numa.c uses tabs as > :set list shows and its not Xen style either. > Coding style says - 4 spaces for one level of indent. numa.c uses tabs > and sometimes space between tabs. > > I am looking at the rest of the files in xen/arch/x86/ and see that > they have all same tab= 4 spaces for indentation. > for example see xen/arch/x86/domain.c. > I used this for vim to re-tab the file: set noai ts=4 sw=8 expandtab > > Linux has 8 spaces for tabs.. So I am lost here. In a few files, original Linux style got retained, and we're accepting that. See for example xen/arch/x86/cpu/. As a result, keeping the file here as is would be fine (as indicated before); the only alternative would be to fully switch it to Xen style. Jan