From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Thu, 28 Dec 2017 14:57:20 +0100 Subject: [PATCH v2 4/5] ARM: dts: Add support for emtrion emCON-MX6 series In-Reply-To: References: <95F51F4B902CAC40AF459205F6322F01B7FDFECC3C@BMK019S01.emtrion.local> <20171222104028.GC18255@piout.net> <20171222105642.GD18255@piout.net> Message-ID: <20171228135720.GL18255@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 26/12/2017 at 11:16:34 -0600, Rob Herring wrote: > On Fri, Dec 22, 2017 at 4:56 AM, Alexandre Belloni > wrote: > > + Philippe > > > > On 22/12/2017 at 11:43:33 +0100, Andreas F?rber wrote: > >> >> I'll change it for v3 of this patch however it will end up like this: > >> >> //SPDX-License... > >> > > >> > That should be /* SPDX-License */, // is for c files. > >> > >> Got any reference for that? Since we're using the C preprocessor before > >> feeding them to dtc, we can use the same // style for both, builds fine. > >> > >> Only for my private DT overlay files that I use directly with dtc I > >> couldn't adopt that style. > > We are well past the point of being able to build most dts files with just dtc. > > > The doc states: > > > > If a specific tool cannot handle the standard comment style, then the > > appropriate comment mechanism which the tool accepts shall be used. This > > is the reason for having the "/\* \*/" style comment in C header > > files. > > > > I interpreted that as dtc doesn't handle // comments, use /**/ > > It's been so long, I'd forgotten that. Perhaps we should fix dtc to > handle // comments. > The would probably be the best solution so we get a somewhat consistent style before people start moving the existing SDPX identifiers to the top of their dtsi/dts files. > > > > But I agree it also states: > > .dts{i}: // SPDX-License-Identifier: > > Or we could still change this. The guidelines aren't merged yet. > > Rob -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com