All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: sm750fb: Add SPDX GPL-2.0 license identifier
@ 2019-04-02  5:43 Sanjana Sanikommu
  2019-04-02  5:49 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Sanjana Sanikommu @ 2019-04-02  5:43 UTC (permalink / raw)
  To: gregkh; +Cc: outreachy-kernel

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 <sanjana99reddy99@gmail.com>
---
 drivers/staging/sm750fb/sm750.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
index e1a892e3b3ad..105089b97bf5 100644
--- a/drivers/staging/sm750fb/sm750.c
+++ b/drivers/staging/sm750fb/sm750.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/errno.h>
-- 
2.17.1



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

* Re: [PATCH] staging: sm750fb: Add SPDX GPL-2.0 license identifier
  2019-04-02  5:43 [PATCH] staging: sm750fb: Add SPDX GPL-2.0 license identifier Sanjana Sanikommu
@ 2019-04-02  5:49 ` Greg KH
  2019-04-02  5:54   ` sanjana99reddy99
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2019-04-02  5:49 UTC (permalink / raw)
  To: Sanjana Sanikommu; +Cc: outreachy-kernel

On Tue, Apr 02, 2019 at 11:13:33AM +0530, Sanjana Sanikommu wrote:
> 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 <sanjana99reddy99@gmail.com>
> ---
>  drivers/staging/sm750fb/sm750.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c
> index e1a892e3b3ad..105089b97bf5 100644
> --- a/drivers/staging/sm750fb/sm750.c
> +++ b/drivers/staging/sm750fb/sm750.c
> @@ -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


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

* Re: [PATCH] staging: sm750fb: Add SPDX GPL-2.0 license identifier
  2019-04-02  5:49 ` Greg KH
@ 2019-04-02  5:54   ` sanjana99reddy99
  0 siblings, 0 replies; 3+ messages in thread
From: sanjana99reddy99 @ 2019-04-02  5:54 UTC (permalink / raw)
  To: outreachy-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1318 bytes --]



On Tuesday, April 2, 2019 at 11:20:03 AM UTC+5:30, gregkh wrote:
>
> On Tue, Apr 02, 2019 at 11:13:33AM +0530, Sanjana Sanikommu wrote: 
> > 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 <sanjana9...@gmail.com <javascript:>> 
> > --- 
> >  drivers/staging/sm750fb/sm750.c | 1 + 
> >  1 file changed, 1 insertion(+) 
> > 
> > diff --git a/drivers/staging/sm750fb/sm750.c 
> b/drivers/staging/sm750fb/sm750.c 
> > index e1a892e3b3ad..105089b97bf5 100644 
> > --- a/drivers/staging/sm750fb/sm750.c 
> > +++ b/drivers/staging/sm750fb/sm750.c 
> > @@ -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. 
>

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

>
> thanks, 
>
> greg k-h 
>

[-- Attachment #1.2: Type: text/html, Size: 2846 bytes --]

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

end of thread, other threads:[~2019-04-02  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02  5:43 [PATCH] staging: sm750fb: Add SPDX GPL-2.0 license identifier Sanjana Sanikommu
2019-04-02  5:49 ` Greg KH
2019-04-02  5:54   ` sanjana99reddy99

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.