Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752087AbdLVLod convert rfc822-to-8bit (ORCPT ); Fri, 22 Dec 2017 06:44:33 -0500 Received: from mail3.emtrion.de ([80.150.99.69]:27758 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750961AbdLVLo2 (ORCPT ); Fri, 22 Dec 2017 06:44:28 -0500 From: =?iso-8859-1?Q?T=FCrk=2C_Jan?= To: "'Alexandre Belloni'" , =?iso-8859-1?Q?Andreas_F=E4rber?= , Philippe Ombredanne CC: "'Rob Herring'" , Mark Rutland , Thierry Reding , David Airlie , Russell King , Shawn Guo , Sascha Hauer , Fabio Estevam , Kevin Hilman , Maxime Ripard , SZ Lin , Greg Kroah-Hartman , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , LinuxArmKernelMailingListe Date: Fri, 22 Dec 2017 12:44:26 +0100 Subject: AW: [PATCH v2 4/5] ARM: dts: Add support for emtrion emCON-MX6 series Thread-Topic: [PATCH v2 4/5] ARM: dts: Add support for emtrion emCON-MX6 series Thread-Index: AdN7E5ebCXTMaS1DSfCNUV85a8irdQAA1Y4w Message-ID: <95F51F4B902CAC40AF459205F6322F01B7FDFECC3F@BMK019S01.emtrion.local> References: <95F51F4B902CAC40AF459205F6322F01B7FDFECC3C@BMK019S01.emtrion.local> <20171222104028.GC18255@piout.net> <20171222105642.GD18255@piout.net> In-Reply-To: <20171222105642.GD18255@piout.net> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE x-tm-as-product-ver: SMEX-11.0.0.4283-8.100.1062-23546.002 x-tm-as-result: No--16.161200-8.000000-31 x-tm-as-matchedid: 701625-704425-700685-139010-850104-700075-110462-705167-7 01236-700470-188019-862883-702010-702358-705718-701339-702039-706561-700994 -700839-701461-863828-701016-703440-701005-701837-701274-139703-708196-8500 95-851079-148004-148133-42000-42003-63 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1587 Lines: 53 Hi, > 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. > > > 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 /**/ > > But I agree it also states: > .dts{i}: // SPDX-License-Identifier: > > So I think we will end up with a mix of both. > after some regexp on arch/arm/boot/dts, the current state is: 216 SPDX identifiers total 184 by GregKH in b24413180f5600bcb3bb70fbed5cf186b60864bd starting with // 2 times /* also by GregKH in the commit above (in .h files) 27 occurrences of "* SPDX" However, the de-facto comment style in the arm devicetrees seems to be /* */ So with the current information I would prepare v3 with: // SPDX-License-Identifier /* Copyright-text + Header */ [...] Jan --- emtrion GmbH Alter Schlachthof 45 76131 Karlsruhe GERMANY https://www.emtrion.de Amtsgericht Mannheim HRB 110 300 Gesch?ftsf?hrer: Dieter Baur, Ramona Maurer