Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932976Ab2JZNre (ORCPT ); Fri, 26 Oct 2012 09:47:34 -0400 Received: from mail.free-electrons.com ([88.190.12.23]:47573 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751161Ab2JZNrd (ORCPT ); Fri, 26 Oct 2012 09:47:33 -0400 Message-ID: <508A945C.4010006@free-electrons.com> Date: Fri, 26 Oct 2012 15:47:08 +0200 From: Gregory CLEMENT User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Andrew Lunn CC: Jason Cooper , linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Olof Johansson , Ben Dooks , Ian Molton , Nicolas Pitre , Lior Amsalem , Maen Suleiman , Tawfik Bayouk , Shadi Ammouri , Eran Ben-Avi , Yehuda Yitschak , Nadav Haklai , Ike Pan , Jani Monoses , Chris Van Hoof , Dan Frazier , Thomas Petazzoni , Leif Lindholm , Jon Masters , David Marlin , Sebastian Hesselbarth , linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 2/4] arm: mvebu: adding SATA support: dt binding for Armada 370/XP References: <1351254650-26861-1-git-send-email-gregory.clement@free-electrons.com> <1351254650-26861-3-git-send-email-gregory.clement@free-electrons.com> <20121026133154.GN18811@titan.lakedaemon.net> <20121026133446.GM21046@lunn.ch> In-Reply-To: <20121026133446.GM21046@lunn.ch> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1814 Lines: 47 On 10/26/2012 03:34 PM, Andrew Lunn wrote: > On Fri, Oct 26, 2012 at 09:31:54AM -0400, Jason Cooper wrote: >> On Fri, Oct 26, 2012 at 02:30:47PM +0200, Gregory CLEMENT wrote: >>> Signed-off-by: Gregory CLEMENT >>> Signed-off-by: Lior Amsalem >>> --- >>> arch/arm/boot/dts/armada-370-xp.dtsi | 9 +++++++++ >>> 1 file changed, 9 insertions(+) >>> >>> diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi >>> index 94b4b9e..a911f7a 100644 >>> --- a/arch/arm/boot/dts/armada-370-xp.dtsi >>> +++ b/arch/arm/boot/dts/armada-370-xp.dtsi >>> @@ -69,6 +69,15 @@ >>> compatible = "marvell,armada-addr-decoding-controller"; >>> reg = <0xd0020000 0x258>; >>> }; >>> + >>> + sata@d00a0000 { >>> + compatible = "marvell,orion-sata"; >>> + reg = <0xd00a0000 0x2400>; >>> + interrupts = <55>; >>> + clocks = <&coreclk 0>; >> >> nit. whitespace? > > [Don't shoot the messenger] > > How about extending checkpatch to check for this? I guess its just > spaces which should be tabs. No it is the opposite in fact! On this line it's tabs: 3 tabs of 8 whitespace, so the line start at 24. But as there is a '+', the first tab is only 7, so it is still start at 24. Whereas for the other lines it's 24 white spaces, so with the '+' it starts at 25. That's why I didn't notice it, and if you apply the patch all is fine. Now, about white spaces vs tab, I don't know what is the rule for .dts file. Gregory -- 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/