Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755324Ab2KZOzX (ORCPT ); Mon, 26 Nov 2012 09:55:23 -0500 Received: from mail-ia0-f174.google.com ([209.85.210.174]:59668 "EHLO mail-ia0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754807Ab2KZOzU (ORCPT ); Mon, 26 Nov 2012 09:55:20 -0500 MIME-Version: 1.0 In-Reply-To: <20121126132557.GA6824@gmail.com> References: <57384ebc52c7d39d1bae31ba3baa6f820b4ac696.1353610436.git.viresh.kumar@linaro.org> <20121126111639.GR12685@sortiz-mobl> <20121126132557.GA6824@gmail.com> Date: Mon, 26 Nov 2012 20:25:19 +0530 Message-ID: Subject: Re: [PATCH V1 1/3] mfd: stmpe: Arrange #include
in alphabetical order From: Viresh Kumar To: Lee Jones Cc: Samuel Ortiz , devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, spear-devel@list.st.com Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 887 Lines: 24 On 26 November 2012 18:55, Lee Jones wrote: > Why do you need to sort them? Is there _really_ a need? Many people & maintainers like to have their header files ordered. The reason for that is: If they are not ordered, there is a possibility of adding an header file multiple times in a file. This might not do something serious when thinking about compilation time or Image size, but adding an header file multiple times is simply wrong. This can't be caught in patch reviews most of the time, as diff may not show the earlier inclusion. That's why i ordered them. And i don't see any harm in doing so. -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/