Skip to contentSkip to conversation

Staging: netlogic: Add SPDX License Identifier

PATCH In review Bhanusree Pola 2 participants 2 messages Feb 21, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: netlogic: Add SPDX License Identifier

adds the SPDX GPL-2.0 license identifier in various files Issue found with checkpatch.pl warning:
"WARNING: Missing or malformed SPDX-License-Identifier tag in line 1"

---
 drivers/staging/netlogic/platform_net.c | 1 +
 drivers/staging/netlogic/platform_net.h | 1 +
 drivers/staging/netlogic/xlr_net.c      | 1 +
 drivers/staging/netlogic/xlr_net.h      | 1 +
 4 files changed, 4 insertions(+)
drivers/staging/netlogic/platform_net.c +1 -0
index abf4c71ee66b..3886c99c1f68 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
drivers/staging/netlogic/platform_net.h +1 -0
index e1b27f649590..1d994f0d0995 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
drivers/staging/netlogic/xlr_net.c +1 -0
index 4e6611e4c59b..fb8146cf3c1f 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
drivers/staging/netlogic/xlr_net.h +1 -0
index f76e16cfd15d..de51d64c1f23 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2003-2012 Broadcom Corporation
  * All Rights Reserved
Signature · 1 line
2.17.1
#1 lore raw
Quoted 11 lines · Bhanusree Pola

adds the SPDX GPL-2.0 license identifier in various files Issue found with checkpatch.pl warning:
"WARNING: Missing or malformed SPDX-License-Identifier tag in line 1"

---
 drivers/staging/netlogic/platform_net.c | 1 +
 drivers/staging/netlogic/platform_net.h | 1 +
 drivers/staging/netlogic/xlr_net.c      | 1 +
 drivers/staging/netlogic/xlr_net.h      | 1 +
 4 files changed, 4 insertions(+)

When you resend a patch, you need to version it (this is v2, right)?

drivers/staging/netlogic/platform_net.c line 1

Quoted 7 lines
drivers/staging/netlogic/platform_net.c +1 -0
index abf4c71ee66b..3886c99c1f68 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0

As said before, this is NOT the license of this file. Please read the text of the license yourself to verify this.

thanks,

greg k-h