Skip to contentSkip to conversation

staging: sm750fb: Add SPDX GPL-2.0 license identifier

PATCH In review Sanjana Sanikommu 2 participants 3 messages Apr 2, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: sm750fb: Add SPDX GPL-2.0 license identifier

Add the SPDX GPL-2.0 license identifier to fix checkpatch.pl warning Issue found by checkpatch.pl warning:
"WARNING: Missing or malformed SPDX-License-Identifier tag in line 1"

---
 drivers/staging/sm750fb/sm750.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/sm750fb/sm750.c +1 -0
index e1a892e3b3ad..105089b97bf5 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/errno.h>
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 14 lines · Sanjana Sanikommu

Add the SPDX GPL-2.0 license identifier to fix checkpatch.pl warning Issue found by checkpatch.pl warning:
"WARNING: Missing or malformed SPDX-License-Identifier tag in line 1"

---
 drivers/staging/sm750fb/sm750.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/sm750fb/sm750.c +0 -0
index e1a892e3b3ad..105089b97bf5 100644

drivers/staging/sm750fb/sm750.c line 4

Quoted 4 lines
drivers/staging/sm750fb/sm750.c +1 -0
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/errno.h>

Why did you pick this license for this file?

You need to be explicit about why you did what you did here, as this is a legal-type thing you are claiming. As a hint, look at the huge commit that I made to the whole kernel tree that did much this same thing just over a year ago.

thanks,

greg k-h

#2 lore raw
Quoted 24 lines · gregkh

Review

Quoted 10 lines · Sanjana Sanikommu

Add the SPDX GPL-2.0 license identifier to fix checkpatch.pl warning Issue found by checkpatch.pl warning:
"WARNING: Missing or malformed SPDX-License-Identifier tag in line 1"

Signed-off-by Sanjana Sanikommu <[email protected] <javascript:>>

---

 drivers/staging/sm750fb/sm750.c | 1 + 
 1 file changed, 1 insertion(+) 
(quoted diff) +0 -0

b/drivers/staging/sm750fb/sm750.c

drivers/staging/sm750fb/sm750.c line 4

Quoted 8 lines

index e1a892e3b3ad..105089b97bf5 100644

drivers/staging/sm750fb/sm750.c +1 -0
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0 
 #include <linux/kernel.h> 
 #include <linux/module.h> 
 #include <linux/errno.h> 

Why did you pick this license for this file?

Quoted 5 lines

You need to be explicit about why you did what you did here, as this is a legal-type thing you are claiming. As a hint, look at the huge commit that I made to the whole kernel tree that did much this same thing just over a year ago.

I will drop the license. I would look to the change. Thank you for
letting me
know.
Sanjana

Quoted 5 lines

thanks,

greg k-h