sh: fix spdx format
PATCH 1/1 sh: fix spdx format
checkpatch reports
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
FILE: arch/sh/include/asm/platform_early.h:1:
+/* SPDX--License-Identifier: GPL-2.0 */
Remove extra -
Fixes 507fd01d5333 ("drivers: move the early platform device support to arch/sh")
Signed-off-by Tom Rix <[email protected]>
--- arch/sh/drivers/platform_early.c | 2 +- arch/sh/include/asm/platform_early.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/sh/drivers/platform_early.c +1 -1
@@ -1,4 +1,4 @@ -// SPDX--License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0 #include <asm/platform_early.h> #include <linux/mod_devicetable.h>
arch/sh/include/asm/platform_early.h +1 -1
@@ -1,4 +1,4 @@ -/* SPDX--License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PLATFORM_EARLY__#define __PLATFORM_EARLY__
Signature · 1 line
2.26.3
Quoted 37 lines · Tom Rix
checkpatch reports
WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
FILE:arch/sh/include/asm/platform_early.h:1:
+/* SPDX--License-Identifier: GPL-2.0 */Remove extra -
Fixes 507fd01d5333 ("drivers: move the early platform device support to arch/sh")Signed-off-by Tom Rix <[email protected]>--- arch/sh/drivers/platform_early.c | 2 +- arch/sh/include/asm/platform_early.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)arch/sh/drivers/platform_early.c +1
-1@@ -1,4 +1,4 @@ -// SPDX--License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0 #include <asm/platform_early.h> #include <linux/mod_devicetable.h> arch/sh/include/asm/platform_early.h +1
-1@@ -1,4 +1,4 @@ -/* SPDX--License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __PLATFORM_EARLY__#define __PLATFORM_EARLY__Signature · 1 line
2.26.3
Reviewed-by Greg Kroah-Hartman <[email protected]>