All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: fix spdx format
@ 2023-01-24 13:39 Tom Rix
  2023-01-27  9:07 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rix @ 2023-01-24 13:39 UTC (permalink / raw)
  To: ysato, dalias, bgolaszewski, gregkh; +Cc: linux-sh, linux-kernel, 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 <trix@redhat.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.26.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] sh: fix spdx format
  2023-01-24 13:39 [PATCH] sh: fix spdx format Tom Rix
@ 2023-01-27  9:07 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2023-01-27  9:07 UTC (permalink / raw)
  To: Tom Rix; +Cc: ysato, dalias, bgolaszewski, linux-sh, linux-kernel

On Tue, Jan 24, 2023 at 05:39:41AM -0800, Tom Rix wrote:
> 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 <trix@redhat.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.26.3
> 

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-27  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24 13:39 [PATCH] sh: fix spdx format Tom Rix
2023-01-27  9:07 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.