Thread (6 messages) flat view 6 messages, 3 authors, 2017-12-28

[PATCH v2 4/5] ARM: dts: Add support for emtrion emCON-MX6 series

From: robh@kernel.org (Rob Herring)
Date: 2017-12-26 17:16:58
Also in: dri-devel, linux-devicetree, lkml

On Fri, Dec 22, 2017 at 4:56 AM, Alexandre Belloni
[off-list ref] wrote:
+ Philippe

On 22/12/2017 at 11:43:33 +0100, Andreas F?rber wrote:
quoted
quoted
quoted
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.
But I agree it also states:
.dts{i}:          // SPDX-License-Identifier: <SPDX License Expression>
Or we could still change this. The guidelines aren't merged yet.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help