[PATCH] sh: fix typo in SPDX license id lines

Tim Bird posted 1 patch 2 months ago
arch/sh/drivers/platform_early.c     | 2 +-
arch/sh/include/asm/platform_early.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] sh: fix typo in SPDX license id lines
Posted by Tim Bird 2 months ago
platform_early.[ch] have an extra - in their SPDX-License-Identifier
lines.  Use the correct (single-dash) syntax for these lines.

Signed-off-by: Tim Bird <tim.bird@sony.com>
---
 arch/sh/drivers/platform_early.c     | 2 +-
 arch/sh/include/asm/platform_early.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/sh/drivers/platform_early.c b/arch/sh/drivers/platform_early.c
index 143747c45206..1c2a571a8ab8 100644
--- a/arch/sh/drivers/platform_early.c
+++ b/arch/sh/drivers/platform_early.c
@@ -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>
diff --git a/arch/sh/include/asm/platform_early.h b/arch/sh/include/asm/platform_early.h
index fc802137c37d..00b6e6dc4ac4 100644
--- a/arch/sh/include/asm/platform_early.h
+++ b/arch/sh/include/asm/platform_early.h
@@ -1,4 +1,4 @@
-/* SPDX--License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0 */
 
 #ifndef __PLATFORM_EARLY__
 #define __PLATFORM_EARLY__
-- 
2.43.0
Re: [PATCH] sh: fix typo in SPDX license id lines
Posted by John Paul Adrian Glaubitz 5 days, 14 hours ago
On Thu, 2026-02-12 at 12:28 -0700, Tim Bird wrote:
> platform_early.[ch] have an extra - in their SPDX-License-Identifier
> lines.  Use the correct (single-dash) syntax for these lines.
> 
> Signed-off-by: Tim Bird <tim.bird@sony.com>
> ---
>  arch/sh/drivers/platform_early.c     | 2 +-
>  arch/sh/include/asm/platform_early.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/sh/drivers/platform_early.c b/arch/sh/drivers/platform_early.c
> index 143747c45206..1c2a571a8ab8 100644
> --- a/arch/sh/drivers/platform_early.c
> +++ b/arch/sh/drivers/platform_early.c
> @@ -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>
> diff --git a/arch/sh/include/asm/platform_early.h b/arch/sh/include/asm/platform_early.h
> index fc802137c37d..00b6e6dc4ac4 100644
> --- a/arch/sh/include/asm/platform_early.h
> +++ b/arch/sh/include/asm/platform_early.h
> @@ -1,4 +1,4 @@
> -/* SPDX--License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0 */
>  
>  #ifndef __PLATFORM_EARLY__
>  #define __PLATFORM_EARLY__

Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

Will pick this up today for v7.1.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Re: [PATCH] sh: fix typo in SPDX license id lines
Posted by Geert Uytterhoeven 2 months ago
On Fri, 13 Feb 2026 at 07:06, Tim Bird <tim.bird@sony.com> wrote:
> platform_early.[ch] have an extra - in their SPDX-License-Identifier
> lines.  Use the correct (single-dash) syntax for these lines.
>
> Signed-off-by: Tim Bird <tim.bird@sony.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
Re: [PATCH] sh: fix typo in SPDX license id lines
Posted by John Paul Adrian Glaubitz 2 months ago
Hi Tim,

On Thu, 2026-02-12 at 12:28 -0700, Tim Bird wrote:
> platform_early.[ch] have an extra - in their SPDX-License-Identifier
> lines.  Use the correct (single-dash) syntax for these lines.
> 
> Signed-off-by: Tim Bird <tim.bird@sony.com>
> ---
>  arch/sh/drivers/platform_early.c     | 2 +-
>  arch/sh/include/asm/platform_early.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/sh/drivers/platform_early.c b/arch/sh/drivers/platform_early.c
> index 143747c45206..1c2a571a8ab8 100644
> --- a/arch/sh/drivers/platform_early.c
> +++ b/arch/sh/drivers/platform_early.c
> @@ -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>
> diff --git a/arch/sh/include/asm/platform_early.h b/arch/sh/include/asm/platform_early.h
> index fc802137c37d..00b6e6dc4ac4 100644
> --- a/arch/sh/include/asm/platform_early.h
> +++ b/arch/sh/include/asm/platform_early.h
> @@ -1,4 +1,4 @@
> -/* SPDX--License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0 */
>  
>  #ifndef __PLATFORM_EARLY__
>  #define __PLATFORM_EARLY__

Thanks for your patch! Those changes are trivial enough to pick them up easily.

Being an old-school Sony fan, I'm honored to have someone from the company
contribute to my kernel tree ;-).

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913