From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753617Ab3LRLhI (ORCPT ); Wed, 18 Dec 2013 06:37:08 -0500 Received: from merlin.infradead.org ([205.233.59.134]:43973 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293Ab3LRLhF (ORCPT ); Wed, 18 Dec 2013 06:37:05 -0500 Date: Wed, 18 Dec 2013 12:36:51 +0100 From: Peter Zijlstra To: David Laight Cc: Geert Uytterhoeven , David Miller , Stephen Rothwell , netdev@vger.kernel.org, Linux-Next , linux-kernel@vger.kernel.org, ffusco@redhat.com, dborkman@redhat.com, tgraf@redhat.com, Joe Perches Subject: Re: linux-next: build failure after merge of the net-next tree Message-ID: <20131218113651.GQ3694@twins.programming.kicks-ass.net> References: <20131218125643.8ff140371e1f8c306327d354@canb.auug.org.au> <20131217.212145.893665929052097867.davem@davemloft.net> <20131217.213033.1019416869378407851.davem@davemloft.net> <20131218101523.GP13532@twins.programming.kicks-ass.net> <20131218113324.GA30183@twins.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131218113324.GA30183@twins.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 18, 2013 at 12:33:24PM +0100, Peter Zijlstra wrote: > On Wed, Dec 18, 2013 at 11:07:34AM -0000, David Laight wrote: > > > > And sort(1) is annoying in that it doesn't do in-place sort; you'll end > > > > up with empty files if you try the naive thing. > > > > > > > > Worse most of those Kbuild files include other random garbage, which > > > > makes automated sorting harder still. > > > > > > > > So unless there's a sane and easy way to keep it sorted; I'm going to > > > > ignore that rule. > > > > > > Not keeping them sorted causes merge conflicts and duplicate/missing > > > entries. > > Surely sorting doesn't cure missing entries. Also sorting can at most > reduce merge conflicts, not take them out entirely. In fact, manually editing these files carries a far greater risk of causing missing entries than sorting could possibly cure. Also, missing entires isn't much of a problem to begin with, compilers are rather good at finding the problem.