diff mbox

staging: sm750fb: add SPDX license identifier

Message ID 20180508185102.GA21793@ubuntu (mailing list archive)
State New, archived
Headers show

Commit Message

Sumit Kumar May 8, 2018, 6:51 p.m. UTC
SPDX licencse identifier is missing in header file. Add a SPDX license
identifier with correct format. Issue found by checkpatch.

Signed-off-by: Sumit Kumar <sumit686215@example.com>
---
 drivers/staging/sm750fb/ddk750.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Greg KH May 11, 2018, 9:43 a.m. UTC | #1
On Wed, May 09, 2018 at 12:21:02AM +0530, Sumit Kumar wrote:
> SPDX licencse identifier is missing in header file. Add a SPDX license
> identifier with correct format. Issue found by checkpatch.
> 
> Signed-off-by: Sumit Kumar <sumit686215@example.com>
> ---
>  drivers/staging/sm750fb/ddk750.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/staging/sm750fb/ddk750.h b/drivers/staging/sm750fb/ddk750.h
> index 7340103..482c1c6 100644
> --- a/drivers/staging/sm750fb/ddk750.h
> +++ b/drivers/staging/sm750fb/ddk750.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0 */

How do you know that is what this license is?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Sumit Kumar May 11, 2018, 10:07 p.m. UTC | #2
On Friday 11 May 2018 03:13 PM, Greg Kroah-Hartman wrote:
> On Wed, May 09, 2018 at 12:21:02AM +0530, Sumit Kumar wrote:
>> SPDX licencse identifier is missing in header file. Add a SPDX license
>> identifier with correct format. Issue found by checkpatch.
>>
>> Signed-off-by: Sumit Kumar <sumit686215@example.com>
>> ---
>>   drivers/staging/sm750fb/ddk750.h | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/staging/sm750fb/ddk750.h b/drivers/staging/sm750fb/ddk750.h
>> index 7340103..482c1c6 100644
>> --- a/drivers/staging/sm750fb/ddk750.h
>> +++ b/drivers/staging/sm750fb/ddk750.h
>> @@ -1,3 +1,4 @@
>> +/* SPDX-License-Identifier: GPL-2.0 */
> How do you know that is what this license is?
>
> thanks,
>
> greg k-h

ddk750_chip.h had this license : /* SPDX-License-Identifier: GPL-2.0 */
So I thought that maybe this header should also have the same license.

--
Thanks and Regards,
Sumit
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Greg KH May 14, 2018, noon UTC | #3
On Sat, May 12, 2018 at 03:37:12AM +0530, Sumit Kumar wrote:
> 
> 
> On Friday 11 May 2018 03:13 PM, Greg Kroah-Hartman wrote:
> > On Wed, May 09, 2018 at 12:21:02AM +0530, Sumit Kumar wrote:
> > > SPDX licencse identifier is missing in header file. Add a SPDX license
> > > identifier with correct format. Issue found by checkpatch.
> > > 
> > > Signed-off-by: Sumit Kumar <sumit686215@example.com>
> > > ---
> > >   drivers/staging/sm750fb/ddk750.h | 1 +
> > >   1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/drivers/staging/sm750fb/ddk750.h b/drivers/staging/sm750fb/ddk750.h
> > > index 7340103..482c1c6 100644
> > > --- a/drivers/staging/sm750fb/ddk750.h
> > > +++ b/drivers/staging/sm750fb/ddk750.h
> > > @@ -1,3 +1,4 @@
> > > +/* SPDX-License-Identifier: GPL-2.0 */
> > How do you know that is what this license is?
> > 
> > thanks,
> > 
> > greg k-h
> 
> ddk750_chip.h had this license : /* SPDX-License-Identifier: GPL-2.0 */
> So I thought that maybe this header should also have the same license.

You need a bit more background information here in order to make this
decision in the patch.  Please see other patches that have added
licenses to files without them for what is needed.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/staging/sm750fb/ddk750.h b/drivers/staging/sm750fb/ddk750.h
index 7340103..482c1c6 100644
--- a/drivers/staging/sm750fb/ddk750.h
+++ b/drivers/staging/sm750fb/ddk750.h
@@ -1,3 +1,4 @@ 
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  *         Copyright (c) 2007 by Silicon Motion, Inc. (SMI)
  *