arch: convert to SPDX identifiers
Subsystems (4)
v2 cover arch: convert to SPDX identifiers
So, here is the rebased patch adding SPDX identifiers to mach-shmobile. And a fixup patch to add the missing identifier in r8a7796.dtsi.
Thanks,
Wolfram
Wolfram Sang (2):
ARM: shmobile: convert to SPDX identifier
arm64: dts: renesas: r8a7796 add missing SPDX identifier
arch/arm/include/debug/renesas-scif.S | 5 +---- arch/arm/mach-shmobile/headsmp-apmu.S | 5 +---- arch/arm/mach-shmobile/platsmp-apmu.c | 5 +---- arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 10 +--------- arch/arm/mach-shmobile/setup-emev2.c | 10 +--------- arch/arm/mach-shmobile/setup-r7s72100.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a73a4.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a7740.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a7778.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a7779.c | 10 +--------- arch/arm/mach-shmobile/setup-rcar-gen2.c | 10 +--------- arch/arm/mach-shmobile/setup-sh73a0.c | 10 +--------- arch/arm/mach-shmobile/smp-emev2.c | 10 +--------- arch/arm/mach-shmobile/smp-r8a7779.c | 10 +--------- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 1 + 15 files changed, 15 insertions(+), 111 deletions(-)
Signature · 1 line
2.11.0
PATCH v2 1/2 ARM: shmobile: convert to SPDX identifier
--- arch/arm/include/debug/renesas-scif.S | 5 +---- arch/arm/mach-shmobile/headsmp-apmu.S | 5 +---- arch/arm/mach-shmobile/platsmp-apmu.c | 5 +---- arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 10 +--------- arch/arm/mach-shmobile/setup-emev2.c | 10 +--------- arch/arm/mach-shmobile/setup-r7s72100.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a73a4.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a7740.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a7778.c | 10 +--------- arch/arm/mach-shmobile/setup-r8a7779.c | 10 +--------- arch/arm/mach-shmobile/setup-rcar-gen2.c | 10 +--------- arch/arm/mach-shmobile/setup-sh73a0.c | 10 +--------- arch/arm/mach-shmobile/smp-emev2.c | 10 +--------- arch/arm/mach-shmobile/smp-r8a7779.c | 10 +--------- 14 files changed, 14 insertions(+), 111 deletions(-)
arch/arm/include/debug/renesas-scif.S +1 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Renesas SCIF(A) debugging macro include header *
@@ -5,10 +6,6 @@ * * Copyright (C) 2012-2013 Renesas Electronics Corporation * Copyright (C) 1994-1999 Russell King - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #define SCIF_PHYS CONFIG_DEBUG_UART_PHYS
arch/arm/mach-shmobile/headsmp-apmu.S +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * SMP support for APMU based systems with Cortex A7/A15 * * Copyright (C) 2014 Renesas Electronics Corporation - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. */ #include <linux/linkage.h>
arch/arm/mach-shmobile/platsmp-apmu.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * SMP support for SoCs with APMU * * Copyright (C) 2014 Renesas Electronics Corporation * Copyright (C) 2013 Magnus Damm -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/cpu_pm.h> #include <linux/delay.h>
arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R-Car Generation 2 da9063/da9210 regulator quirk *
@@ -16,15 +17,6 @@* been initialized, but before the i2c slave drivers are initialized. * * Copyright (C) 2015 Glider bvba -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/device.h>
arch/arm/mach-shmobile/setup-emev2.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Emma Mobile EV2 processor support * * Copyright (C) 2012 Magnus Damm -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-shmobile/setup-r7s72100.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * r7s72100 processor support * * Copyright (C) 2013 Renesas Solutions Corp. * Copyright (C) 2013 Magnus Damm -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/kernel.h>
arch/arm/mach-shmobile/setup-r8a73a4.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * r8a73a4 processor support * * Copyright (C) 2013 Renesas Solutions Corp. * Copyright (C) 2013 Magnus Damm -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/init.h>
arch/arm/mach-shmobile/setup-r8a7740.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R8A7740 processor support * * Copyright (C) 2011 Renesas Solutions Corp. * Copyright (C) 2011 Kuninori Morimoto <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-shmobile/setup-r8a7778.c +1 -9
@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * r8a7778 processor support * * Copyright (C) 2013 Renesas Solutions Corp. * Copyright (C) 2013 Kuninori Morimoto <[email protected]> * Copyright (C) 2013 Cogent Embedded, Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/io.h>
arch/arm/mach-shmobile/setup-r8a7779.c +1 -9
@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * r8a7779 processor support * * Copyright (C) 2011, 2013 Renesas Solutions Corp. * Copyright (C) 2011 Magnus Damm * Copyright (C) 2013 Cogent Embedded, Inc. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/init.h> #include <linux/irq.h>
arch/arm/mach-shmobile/setup-rcar-gen2.c +1 -9
@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * R-Car Generation 2 support * * Copyright (C) 2013 Renesas Solutions Corp. * Copyright (C) 2013 Magnus Damm * Copyright (C) 2014 Ulrich Hecht -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/clk-provider.h>
arch/arm/mach-shmobile/setup-sh73a0.c +1 -9
@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * sh73a0 processor support * * Copyright (C) 2010 Takashi Yoshii * Copyright (C) 2010 Magnus Damm * Copyright (C) 2008 Yoshihiro Shimoda -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-shmobile/smp-emev2.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * SMP support for Emma Mobile EV2 * * Copyright (C) 2012 Renesas Solutions Corp. * Copyright (C) 2012 Magnus Damm -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-shmobile/smp-r8a7779.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * SMP support for R-Mobile / SH-Mobile - r8a7779 portion * * Copyright (C) 2011 Renesas Solutions Corp. * Copyright (C) 2011 Magnus Damm -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; version 2 of the License. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/kernel.h> #include <linux/init.h>
Signature · 1 line
2.11.0
Re: [PATCH v2 1/2] ARM: shmobile: convert to SPDX identifier
Quoted 3 lines · Wolfram Sang
Signed-off-by Wolfram Sang <[email protected]>
Thanks Wolfram, applied.
PATCH v2 2/2 arm64: dts: renesas: r8a7796 add missing SPDX identifier
In reply to Wolfram SangDue to a merge conflict, this got accidently dropped. Add it again.
--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a7796.dtsi +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a7796 SoC *
Signature · 1 line
2.11.0
Re: [PATCH v2 2/2] arm64: dts: renesas: r8a7796 add missing SPDX identifier
Quoted 12 lines · Wolfram Sang
Due to a merge conflict, this got accidently dropped. Add it again.
Signed-off-by Wolfram Sang <[email protected]>--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 1 + 1 file changed, 1 insertion(+)arch/arm64/boot/dts/renesas/r8a7796.dtsi +0
-0
arch/arm64/boot/dts/renesas/r8a7796.dtsi line 4
Quoted 4 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a7796 SoC *
Thanks, I squashed this into the patch that I messed up. The result is as follows.
From: Wolfram Sang <[email protected]>
Subject: [PATCH] arm64: dts: renesas: convert to SPDX identifiers
--- arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 5 +---- arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 5 +---- arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 5 +---- arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 5 +---- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 5 +---- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 5 +---- arch/arm64/boot/dts/renesas/salvator-common.dtsi | 5 +---- arch/arm64/boot/dts/renesas/salvator-x.dtsi | 5 +---- arch/arm64/boot/dts/renesas/salvator-xs.dtsi | 5 +---- arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 5 +---- arch/arm64/boot/dts/renesas/ulcb.dtsi | 5 +---- 24 files changed, 24 insertions(+), 96 deletions(-)
arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-kf.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the H3ULCB Kingfisher board * * Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "r8a7795-es1-h3ulcb.dts"
arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board * * Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7795-es1-salvator-x.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Salvator-X board with R-Car H3 ES1.x * * Copyright (C) 2015 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a7795 ES1.x SoC * * Copyright (C) 2015 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "r8a7795.dtsi"
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-kf.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the H3ULCB Kingfisher board * * Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "r8a7795-h3ulcb.dts"
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) board * * Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Salvator-X board with R-Car H3 ES2.0 * * Copyright (C) 2015 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7795-salvator-xs.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Salvator-X 2nd version board with R-Car H3 ES2.0 * * Copyright (C) 2015-2017 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7795.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a7795 SoC * * Copyright (C) 2015 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/clock/r8a7795-cpg-mssr.h>
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb-kf.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the M3ULCB Kingfisher board * * Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "r8a7796-m3ulcb.dts"
arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the M3ULCB (R-Car Starter Kit Pro) board * * Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Salvator-X board with R-Car M3-W * * Copyright (C) 2016 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7796-salvator-xs.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Salvator-X 2nd version board with R-Car M3-W * * Copyright (C) 2015-2017 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a7796.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a7796 SoC * * Copyright (C) 2016-2017 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/clock/r8a7796-cpg-mssr.h>
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Eagle board * * Copyright (C) 2016-2017 Renesas Electronics Corp. * Copyright (C) 2017 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the V3M Starter Kit board * * Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a77970.dtsi +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a77970 SoC * * Copyright (C) 2016-2017 Renesas Electronics Corp. * Copyright (C) 2017 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/clock/r8a77970-cpg-mssr.h>
arch/arm64/boot/dts/renesas/r8a77995-draak.dts +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Draak board * * Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2017 Glider bvba - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm64/boot/dts/renesas/r8a77995.dtsi +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a77995 SoC * * Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2017 Glider bvba - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/clock/r8a77995-cpg-mssr.h>
arch/arm64/boot/dts/renesas/salvator-common.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for common parts of Salvator-X board variants * * Copyright (C) 2015-2016 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /*
arch/arm64/boot/dts/renesas/salvator-x.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Salvator-X board * * Copyright (C) 2015-2016 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "salvator-common.dtsi"
arch/arm64/boot/dts/renesas/salvator-xs.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Salvator-X 2nd version board * * Copyright (C) 2015-2017 Renesas Electronics Corp. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "salvator-common.dtsi"
arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the Kingfisher (ULCB extension) board * * Copyright (C) 2017 Renesas Electronics Corp. * Copyright (C) 2017 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ / {
arch/arm64/boot/dts/renesas/ulcb.dtsi +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the R-Car Gen3 ULCB board * * Copyright (C) 2016 Renesas Electronics Corp. * Copyright (C) 2016 Cogent Embedded, Inc. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/gpio/gpio.h>
Signature · 3 lines
2.11.0 a7795-h3ulcb.dtQ
Re: [PATCH v2 2/2] arm64: dts: renesas: r8a7796 add missing SPDX identifier
Quoted 8 lines · Simon Horman
Quoted 7 lines · Wolfram Sang
Due to a merge conflict, this got accidently dropped. Add it again.
Signed-off-by Wolfram Sang <[email protected]>--- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 1 + 1 file changed, 1 insertion(+)
Quoted 12 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi line 4
Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a7796 SoC *Thanks, I squashed this into the patch that I messed up. The result is as follows.
Looks good to me, thanks Simon!
Re: [PATCH v2 2/2] arm64: dts: renesas: r8a7796 add missing SPDX identifier
Hi Simon, Wolfram
Quoted 11 lines
Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a7796.dtsi line 4
Quoted 6 lines
+++
b/arch/arm64/boot/dts/renesas/r8a7796.dtsiarch/arm64/boot/dts/renesas/r8a7796.dtsi +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Device Tree Source for the r8a7796 SoC *Thanks, I squashed this into the patch that I messed up. The result is as follows.
Looks good to me, thanks Simon!
Actually, I posted SPDX patch to ALSA ML, and one guy taught me that, Linus want to have C++ style comment for "all" source headers.
Can you find "Linus Torvalds - Nov. 25, 2017, 8:30 p.m." line at
https://patchwork.kernel.org/patch/10062523/
Best regards
---
Kuninori Morimoto
Re: [PATCH v2 2/2] arm64: dts: renesas: r8a7796 add missing SPDX identifier
Quoted 4 lines
Actually, I posted SPDX patch to ALSA ML, and one guy taught me that, Linus want to have C++ style comment for "all" source headers.
$ less Documentation/process/license-rules.rst
===
...
2. Style:
The SPDX license identifier is added in form of a comment. The comment style depends on the file type::
C source: // SPDX-License-Identifier: <SPDX License Expression> C header: /* SPDX-License-Identifier: <SPDX License Expression> */
ASM: /* SPDX-License-Identifier: <SPDX License Expression> */
scripts: # SPDX-License-Identifier: <SPDX License Expression>
.rst: .. SPDX-License-Identifier: <SPDX License Expression>
.dts{i}: // SPDX-License-Identifier: <SPDX License Expression>
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. There was build breakage observed with generated .lds files where 'ld' failed to parse the C++ comment. This has been fixed by now, but there are still older assembler tools which cannot handle C++ style comments.
...
===
checkpatch also warns if you use C++ comment style in headers.
Re: [PATCH v2 2/2] arm64: dts: renesas: r8a7796 add missing SPDX identifier
Hi Wolfram
Quoted 1 line
$ less Documentation/process/license-rules.rst
Maybe my misunderstanding (?), but Linus request of C++ comment is not only SPDX line, but whole/all comment area on source header.
Best regards
---
Kuninori Morimoto
Re: [PATCH v2 2/2] arm64: dts: renesas: r8a7796 add missing SPDX identifier
Quoted 3 lines
Maybe my misunderstanding (?), but Linus request of C++ comment is not only SPDX line, but whole/all comment area on source header.
Ah, that's what you mean. But he also said:
"I think we should just start moving to // in general, but only when adding new ones (ie I don't want to see any automatic conversion patches)."
And here, there are no new files.
Did I understand correctly this time?
Re: [PATCH v2 2/2] arm64: dts: renesas: r8a7796 add missing SPDX identifier
Hi Wolfram
Quoted 5 lines
Quoted 2 lines
Maybe my misunderstanding (?), but Linus request of C++ comment is not only SPDX line, but whole/all comment area on source header.
Ah, that's what you mean. But he also said:
Quoted 7 lines
"I think we should just start moving to // in general, but only when adding new ones (ie I don't want to see any automatic conversion patches)."
And here, there are no new files.
Did I understand correctly this time?
OK, fair enough.
# ALSA ML is requesting me to exchange all header comment to //
# but it depends on each ML :)
Best regards
---
Kuninori Morimoto