All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 14:48 ` Carlos Henrique Lima Melara
  0 siblings, 0 replies; 19+ messages in thread
From: Carlos Henrique Lima Melara @ 2019-01-30 14:48 UTC (permalink / raw)
  To: gregkh, matthias.bgg
  Cc: neil, devel, linux-mediatek, linux-kernel, linux-arm-kernel

	This patch fix the checkpatch.p1 warning:

	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
	+/*

	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.

Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
---
 drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
index 40a7d47be913..49d417de64c8 100644
--- a/drivers/staging/mt7621-eth/ethtool.c
+++ b/drivers/staging/mt7621-eth/ethtool.c
@@ -1,15 +1,17 @@
-/*   This program is free software; you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published by
- *   the Free Software Foundation; version 2 of the License
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License
  *
- *   This program is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
  *
- *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
- *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
- *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
+ * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
+ * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
+ * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
  */
 
 #include "mtk_eth_soc.h"
-- 
2.20.1

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

* [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 14:48 ` Carlos Henrique Lima Melara
  0 siblings, 0 replies; 19+ messages in thread
From: Carlos Henrique Lima Melara @ 2019-01-30 14:48 UTC (permalink / raw)
  To: gregkh, matthias.bgg
  Cc: neil, devel, linux-mediatek, linux-kernel, linux-arm-kernel

	This patch fix the checkpatch.p1 warning:

	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
	+/*

	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.

Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
---
 drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
index 40a7d47be913..49d417de64c8 100644
--- a/drivers/staging/mt7621-eth/ethtool.c
+++ b/drivers/staging/mt7621-eth/ethtool.c
@@ -1,15 +1,17 @@
-/*   This program is free software; you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published by
- *   the Free Software Foundation; version 2 of the License
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License
  *
- *   This program is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
  *
- *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
- *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
- *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
+ * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
+ * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
+ * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
  */
 
 #include "mtk_eth_soc.h"
-- 
2.20.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
  2019-01-30 14:48 ` Carlos Henrique Lima Melara
  (?)
@ 2019-01-30 15:29   ` gregkh
  -1 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 15:29 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: matthias.bgg, neil, devel, linux-mediatek, linux-kernel,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> 	This patch fix the checkpatch.p1 warning:
> 
> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> 	+/*

Why did you not fix up the indentation that was already mentioned?

> 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.

Always properly line-wrap your comments.

> 
> Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>

This needs to match your "From:" line.

thanks,

greg k-h

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 15:29   ` gregkh
  0 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 15:29 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: matthias.bgg, neil, devel, linux-mediatek, linux-kernel,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> 	This patch fix the checkpatch.p1 warning:
> 
> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> 	+/*

Why did you not fix up the indentation that was already mentioned?

> 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.

Always properly line-wrap your comments.

> 
> Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>

This needs to match your "From:" line.

thanks,

greg k-h

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 15:29   ` gregkh
  0 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 15:29 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: devel, linux-kernel, neil, linux-mediatek, matthias.bgg,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> 	This patch fix the checkpatch.p1 warning:
> 
> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> 	+/*

Why did you not fix up the indentation that was already mentioned?

> 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.

Always properly line-wrap your comments.

> 
> Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>

This needs to match your "From:" line.

thanks,

greg k-h

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
  2019-01-30 14:48 ` Carlos Henrique Lima Melara
  (?)
@ 2019-01-30 16:38   ` Andrew Lunn
  -1 siblings, 0 replies; 19+ messages in thread
From: Andrew Lunn @ 2019-01-30 16:38 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: gregkh, matthias.bgg, neil, devel, linux-mediatek, linux-kernel,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> 	This patch fix the checkpatch.p1 warning:
> 
> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> 	+/*
> 
> 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.
> 
> Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
> ---
>  drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
>  1 file changed, 12 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
> index 40a7d47be913..49d417de64c8 100644
> --- a/drivers/staging/mt7621-eth/ethtool.c
> +++ b/drivers/staging/mt7621-eth/ethtool.c
> @@ -1,15 +1,17 @@
> -/*   This program is free software; you can redistribute it and/or modify
> - *   it under the terms of the GNU General Public License as published by
> - *   the Free Software Foundation; version 2 of the License
> +// SPDX-License-Identifier: GPL-2.0

Hi Carlos

drivers/staging/mt7621-eth$ grep LICENSE *
gsw_mt7621.c:MODULE_LICENSE("GPL");
mtk_eth_soc.c:MODULE_LICENSE("GPL");

And include/linux/module.h 
says:

/*
 * The following license idents are currently accepted as indicating free
 * software modules
 *
 *      "GPL"                           [GNU Public License v2 or later]
 *      "GPL v2"                        [GNU Public License v2]

So the SPDX string probably does not match the MODULE_LICENSE.

   Andrew

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 16:38   ` Andrew Lunn
  0 siblings, 0 replies; 19+ messages in thread
From: Andrew Lunn @ 2019-01-30 16:38 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: gregkh, matthias.bgg, neil, devel, linux-mediatek, linux-kernel,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> 	This patch fix the checkpatch.p1 warning:
> 
> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> 	+/*
> 
> 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.
> 
> Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
> ---
>  drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
>  1 file changed, 12 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
> index 40a7d47be913..49d417de64c8 100644
> --- a/drivers/staging/mt7621-eth/ethtool.c
> +++ b/drivers/staging/mt7621-eth/ethtool.c
> @@ -1,15 +1,17 @@
> -/*   This program is free software; you can redistribute it and/or modify
> - *   it under the terms of the GNU General Public License as published by
> - *   the Free Software Foundation; version 2 of the License
> +// SPDX-License-Identifier: GPL-2.0

Hi Carlos

drivers/staging/mt7621-eth$ grep LICENSE *
gsw_mt7621.c:MODULE_LICENSE("GPL");
mtk_eth_soc.c:MODULE_LICENSE("GPL");

And include/linux/module.h 
says:

/*
 * The following license idents are currently accepted as indicating free
 * software modules
 *
 *      "GPL"                           [GNU Public License v2 or later]
 *      "GPL v2"                        [GNU Public License v2]

So the SPDX string probably does not match the MODULE_LICENSE.

   Andrew

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 16:38   ` Andrew Lunn
  0 siblings, 0 replies; 19+ messages in thread
From: Andrew Lunn @ 2019-01-30 16:38 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: devel, gregkh, linux-kernel, neil, linux-mediatek, matthias.bgg,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> 	This patch fix the checkpatch.p1 warning:
> 
> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> 	+/*
> 
> 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.
> 
> Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
> ---
>  drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
>  1 file changed, 12 insertions(+), 10 deletions(-)
> 
> diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
> index 40a7d47be913..49d417de64c8 100644
> --- a/drivers/staging/mt7621-eth/ethtool.c
> +++ b/drivers/staging/mt7621-eth/ethtool.c
> @@ -1,15 +1,17 @@
> -/*   This program is free software; you can redistribute it and/or modify
> - *   it under the terms of the GNU General Public License as published by
> - *   the Free Software Foundation; version 2 of the License
> +// SPDX-License-Identifier: GPL-2.0

Hi Carlos

drivers/staging/mt7621-eth$ grep LICENSE *
gsw_mt7621.c:MODULE_LICENSE("GPL");
mtk_eth_soc.c:MODULE_LICENSE("GPL");

And include/linux/module.h 
says:

/*
 * The following license idents are currently accepted as indicating free
 * software modules
 *
 *      "GPL"                           [GNU Public License v2 or later]
 *      "GPL v2"                        [GNU Public License v2]

So the SPDX string probably does not match the MODULE_LICENSE.

   Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
  2019-01-30 16:38   ` Andrew Lunn
  (?)
@ 2019-01-30 18:10     ` gregkh
  -1 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 18:10 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: Carlos Henrique Lima Melara, devel, linux-kernel, neil,
	linux-mediatek, matthias.bgg, linux-arm-kernel

On Wed, Jan 30, 2019 at 05:38:17PM +0100, Andrew Lunn wrote:
> On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> > 	This patch fix the checkpatch.p1 warning:
> > 
> > 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> > 	+/*
> > 
> > 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.
> > 
> > Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
> > ---
> >  drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
> >  1 file changed, 12 insertions(+), 10 deletions(-)
> > 
> > diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
> > index 40a7d47be913..49d417de64c8 100644
> > --- a/drivers/staging/mt7621-eth/ethtool.c
> > +++ b/drivers/staging/mt7621-eth/ethtool.c
> > @@ -1,15 +1,17 @@
> > -/*   This program is free software; you can redistribute it and/or modify
> > - *   it under the terms of the GNU General Public License as published by
> > - *   the Free Software Foundation; version 2 of the License
> > +// SPDX-License-Identifier: GPL-2.0
> 
> Hi Carlos
> 
> drivers/staging/mt7621-eth$ grep LICENSE *
> gsw_mt7621.c:MODULE_LICENSE("GPL");
> mtk_eth_soc.c:MODULE_LICENSE("GPL");
> 
> And include/linux/module.h 
> says:
> 
> /*
>  * The following license idents are currently accepted as indicating free
>  * software modules
>  *
>  *      "GPL"                           [GNU Public License v2 or later]
>  *      "GPL v2"                        [GNU Public License v2]
> 
> So the SPDX string probably does not match the MODULE_LICENSE.

No, ignore the MODULE_LICENSE marking for this, go by what the text at
the top of the file says. See the patch about all of this from Thomas on
lkml yesterday for why this is the case.

So the patch is fine.  If the changelog stuff ever gets fixed...

thanks,

greg k-h

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 18:10     ` gregkh
  0 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 18:10 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: Carlos Henrique Lima Melara, devel, linux-kernel, neil,
	linux-mediatek, matthias.bgg, linux-arm-kernel

On Wed, Jan 30, 2019 at 05:38:17PM +0100, Andrew Lunn wrote:
> On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> > 	This patch fix the checkpatch.p1 warning:
> > 
> > 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> > 	+/*
> > 
> > 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.
> > 
> > Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
> > ---
> >  drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
> >  1 file changed, 12 insertions(+), 10 deletions(-)
> > 
> > diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
> > index 40a7d47be913..49d417de64c8 100644
> > --- a/drivers/staging/mt7621-eth/ethtool.c
> > +++ b/drivers/staging/mt7621-eth/ethtool.c
> > @@ -1,15 +1,17 @@
> > -/*   This program is free software; you can redistribute it and/or modify
> > - *   it under the terms of the GNU General Public License as published by
> > - *   the Free Software Foundation; version 2 of the License
> > +// SPDX-License-Identifier: GPL-2.0
> 
> Hi Carlos
> 
> drivers/staging/mt7621-eth$ grep LICENSE *
> gsw_mt7621.c:MODULE_LICENSE("GPL");
> mtk_eth_soc.c:MODULE_LICENSE("GPL");
> 
> And include/linux/module.h 
> says:
> 
> /*
>  * The following license idents are currently accepted as indicating free
>  * software modules
>  *
>  *      "GPL"                           [GNU Public License v2 or later]
>  *      "GPL v2"                        [GNU Public License v2]
> 
> So the SPDX string probably does not match the MODULE_LICENSE.

No, ignore the MODULE_LICENSE marking for this, go by what the text at
the top of the file says. See the patch about all of this from Thomas on
lkml yesterday for why this is the case.

So the patch is fine.  If the changelog stuff ever gets fixed...

thanks,

greg k-h

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 18:10     ` gregkh
  0 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 18:10 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: devel, Carlos Henrique Lima Melara, linux-kernel, neil,
	linux-mediatek, matthias.bgg, linux-arm-kernel

On Wed, Jan 30, 2019 at 05:38:17PM +0100, Andrew Lunn wrote:
> On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> > 	This patch fix the checkpatch.p1 warning:
> > 
> > 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> > 	+/*
> > 
> > 	It includes the SPDX expression for GPL-2.0 and corrects the comment format to suit the kernel's coding style.
> > 
> > Signed-off-by: Carlos (Charles) Henrique Lima Melara <charlesmelara@outlook.com>
> > ---
> >  drivers/staging/mt7621-eth/ethtool.c | 22 ++++++++++++----------
> >  1 file changed, 12 insertions(+), 10 deletions(-)
> > 
> > diff --git a/drivers/staging/mt7621-eth/ethtool.c b/drivers/staging/mt7621-eth/ethtool.c
> > index 40a7d47be913..49d417de64c8 100644
> > --- a/drivers/staging/mt7621-eth/ethtool.c
> > +++ b/drivers/staging/mt7621-eth/ethtool.c
> > @@ -1,15 +1,17 @@
> > -/*   This program is free software; you can redistribute it and/or modify
> > - *   it under the terms of the GNU General Public License as published by
> > - *   the Free Software Foundation; version 2 of the License
> > +// SPDX-License-Identifier: GPL-2.0
> 
> Hi Carlos
> 
> drivers/staging/mt7621-eth$ grep LICENSE *
> gsw_mt7621.c:MODULE_LICENSE("GPL");
> mtk_eth_soc.c:MODULE_LICENSE("GPL");
> 
> And include/linux/module.h 
> says:
> 
> /*
>  * The following license idents are currently accepted as indicating free
>  * software modules
>  *
>  *      "GPL"                           [GNU Public License v2 or later]
>  *      "GPL v2"                        [GNU Public License v2]
> 
> So the SPDX string probably does not match the MODULE_LICENSE.

No, ignore the MODULE_LICENSE marking for this, go by what the text at
the top of the file says. See the patch about all of this from Thomas on
lkml yesterday for why this is the case.

So the patch is fine.  If the changelog stuff ever gets fixed...

thanks,

greg k-h

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
  2019-01-30 18:10     ` gregkh
  (?)
@ 2019-01-30 18:48       ` Andrew Lunn
  -1 siblings, 0 replies; 19+ messages in thread
From: Andrew Lunn @ 2019-01-30 18:48 UTC (permalink / raw)
  To: gregkh
  Cc: Carlos Henrique Lima Melara, devel, linux-kernel, neil,
	linux-mediatek, matthias.bgg, linux-arm-kernel

> See the patch about all of this from Thomas on lkml yesterday for
> why this is the case.

Hi Greg

Thanks for the info. I had not seen this, and i guess other have not
as well. So here is a link to the patch.

https://lkml.org/lkml/2019/1/28/1975

	Andrew

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 18:48       ` Andrew Lunn
  0 siblings, 0 replies; 19+ messages in thread
From: Andrew Lunn @ 2019-01-30 18:48 UTC (permalink / raw)
  To: gregkh
  Cc: Carlos Henrique Lima Melara, devel, linux-kernel, neil,
	linux-mediatek, matthias.bgg, linux-arm-kernel

> See the patch about all of this from Thomas on lkml yesterday for
> why this is the case.

Hi Greg

Thanks for the info. I had not seen this, and i guess other have not
as well. So here is a link to the patch.

https://lkml.org/lkml/2019/1/28/1975

	Andrew

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 18:48       ` Andrew Lunn
  0 siblings, 0 replies; 19+ messages in thread
From: Andrew Lunn @ 2019-01-30 18:48 UTC (permalink / raw)
  To: gregkh
  Cc: devel, Carlos Henrique Lima Melara, linux-kernel, neil,
	linux-mediatek, matthias.bgg, linux-arm-kernel

> See the patch about all of this from Thomas on lkml yesterday for
> why this is the case.

Hi Greg

Thanks for the info. I had not seen this, and i guess other have not
as well. So here is a link to the patch.

https://lkml.org/lkml/2019/1/28/1975

	Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
  2019-01-30 15:29   ` gregkh
@ 2019-01-30 20:01     ` Carlos Henrique Lima Melara
  -1 siblings, 0 replies; 19+ messages in thread
From: Carlos Henrique Lima Melara @ 2019-01-30 20:01 UTC (permalink / raw)
  To: gregkh
  Cc: devel, linux-kernel, neil, linux-mediatek, matthias.bgg,
	linux-arm-kernel

On 30/01/2019 13:29, gregkh@linuxfoundation.org wrote:
> On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
>> 	This patch fix the checkpatch.p1 warning:
>>
>> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
>> 	+/*
>
> Why did you not fix up the indentation that was already mentioned?

The Warning was about the missing SPDX License Identifier, so I added the 
identifier according to the "license-rules.rst" for C source that is:

>   The SPDX license identifier is added in form of a comment.  The comment
>   style depends on the file type::
>
>      C source:	// SPDX-License-Identifier: <SPDX License Expression>
>      C header:	/* SPDX-License-Identifier: <SPDX License Expression> */
>      ASM:	/* SPDX-License-Identifier: <SPDX License Expression> */
>      scripts:	# SPDX-License-Identifier: <SPDX License Expression>
>      .rst:	.. SPDX-License-Identifier: <SPDX License Expression>
>      .dts{i}:	// SPDX-License-Identifier: <SPDX License Expression>

I think that was the correction needed, right?

Still have a question about the license comment in the "ethtooll.c". 

> /*   This program is free software; you can redistribute it and/or modify
>  *   it under the terms of the GNU General Public License as published by
>  *   the Free Software Foundation; version 2 of the License
>  *
>  *   This program is distributed in the hope that it will be useful,
>  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
>  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  *   GNU General Public License for more details.
>  *
>  *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
>  *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
>  *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
>  */

It puts 3 spaces between the * and the text, should it be corrected to 
only one space?

thanks, Carlos Melara.

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 20:01     ` Carlos Henrique Lima Melara
  0 siblings, 0 replies; 19+ messages in thread
From: Carlos Henrique Lima Melara @ 2019-01-30 20:01 UTC (permalink / raw)
  To: gregkh
  Cc: devel, linux-kernel, neil, linux-mediatek, matthias.bgg,
	linux-arm-kernel

On 30/01/2019 13:29, gregkh@linuxfoundation.org wrote:
> On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
>> 	This patch fix the checkpatch.p1 warning:
>>
>> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
>> 	+/*
>
> Why did you not fix up the indentation that was already mentioned?

The Warning was about the missing SPDX License Identifier, so I added the 
identifier according to the "license-rules.rst" for C source that is:

>   The SPDX license identifier is added in form of a comment.  The comment
>   style depends on the file type::
>
>      C source:	// SPDX-License-Identifier: <SPDX License Expression>
>      C header:	/* SPDX-License-Identifier: <SPDX License Expression> */
>      ASM:	/* SPDX-License-Identifier: <SPDX License Expression> */
>      scripts:	# SPDX-License-Identifier: <SPDX License Expression>
>      .rst:	.. SPDX-License-Identifier: <SPDX License Expression>
>      .dts{i}:	// SPDX-License-Identifier: <SPDX License Expression>

I think that was the correction needed, right?

Still have a question about the license comment in the "ethtooll.c". 

> /*   This program is free software; you can redistribute it and/or modify
>  *   it under the terms of the GNU General Public License as published by
>  *   the Free Software Foundation; version 2 of the License
>  *
>  *   This program is distributed in the hope that it will be useful,
>  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
>  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>  *   GNU General Public License for more details.
>  *
>  *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
>  *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
>  *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
>  */

It puts 3 spaces between the * and the text, should it be corrected to 
only one space?

thanks, Carlos Melara.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
  2019-01-30 20:01     ` Carlos Henrique Lima Melara
  (?)
@ 2019-01-30 21:12       ` gregkh
  -1 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 21:12 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: matthias.bgg, neil, devel, linux-mediatek, linux-kernel,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 08:01:13PM +0000, Carlos Henrique Lima Melara wrote:
> On 30/01/2019 13:29, gregkh@linuxfoundation.org wrote:
> > On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> >> 	This patch fix the checkpatch.p1 warning:
> >>
> >> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> >> 	+/*
> >
> > Why did you not fix up the indentation that was already mentioned?
> 
> The Warning was about the missing SPDX License Identifier, so I added the 
> identifier according to the "license-rules.rst" for C source that is:

I mean the indentation of the text in your changelog, nothing to do with
the actual change in your patch below, sorry for the confusion.

> >   The SPDX license identifier is added in form of a comment.  The comment
> >   style depends on the file type::
> >
> >      C source:	// SPDX-License-Identifier: <SPDX License Expression>
> >      C header:	/* SPDX-License-Identifier: <SPDX License Expression> */
> >      ASM:	/* SPDX-License-Identifier: <SPDX License Expression> */
> >      scripts:	# SPDX-License-Identifier: <SPDX License Expression>
> >      .rst:	.. SPDX-License-Identifier: <SPDX License Expression>
> >      .dts{i}:	// SPDX-License-Identifier: <SPDX License Expression>
> 
> I think that was the correction needed, right?

Yes.

> Still have a question about the license comment in the "ethtooll.c". 
> 
> > /*   This program is free software; you can redistribute it and/or modify
> >  *   it under the terms of the GNU General Public License as published by
> >  *   the Free Software Foundation; version 2 of the License
> >  *
> >  *   This program is distributed in the hope that it will be useful,
> >  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
> >  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> >  *   GNU General Public License for more details.
> >  *
> >  *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
> >  *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
> >  *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
> >  */
> 
> It puts 3 spaces between the * and the text, should it be corrected to 
> only one space?

If you really want to, but it's not needed.

All of the "boilerplate" license text can also be removed after the SPDX
line is added, if you want to do that.  But leave the copyright lines,
that needs to stay.

thanks,

greg k-h

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 21:12       ` gregkh
  0 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 21:12 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: matthias.bgg, neil, devel, linux-mediatek, linux-kernel,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 08:01:13PM +0000, Carlos Henrique Lima Melara wrote:
> On 30/01/2019 13:29, gregkh@linuxfoundation.org wrote:
> > On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> >> 	This patch fix the checkpatch.p1 warning:
> >>
> >> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> >> 	+/*
> >
> > Why did you not fix up the indentation that was already mentioned?
> 
> The Warning was about the missing SPDX License Identifier, so I added the 
> identifier according to the "license-rules.rst" for C source that is:

I mean the indentation of the text in your changelog, nothing to do with
the actual change in your patch below, sorry for the confusion.

> >   The SPDX license identifier is added in form of a comment.  The comment
> >   style depends on the file type::
> >
> >      C source:	// SPDX-License-Identifier: <SPDX License Expression>
> >      C header:	/* SPDX-License-Identifier: <SPDX License Expression> */
> >      ASM:	/* SPDX-License-Identifier: <SPDX License Expression> */
> >      scripts:	# SPDX-License-Identifier: <SPDX License Expression>
> >      .rst:	.. SPDX-License-Identifier: <SPDX License Expression>
> >      .dts{i}:	// SPDX-License-Identifier: <SPDX License Expression>
> 
> I think that was the correction needed, right?

Yes.

> Still have a question about the license comment in the "ethtooll.c". 
> 
> > /*   This program is free software; you can redistribute it and/or modify
> >  *   it under the terms of the GNU General Public License as published by
> >  *   the Free Software Foundation; version 2 of the License
> >  *
> >  *   This program is distributed in the hope that it will be useful,
> >  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
> >  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> >  *   GNU General Public License for more details.
> >  *
> >  *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
> >  *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
> >  *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
> >  */
> 
> It puts 3 spaces between the * and the text, should it be corrected to 
> only one space?

If you really want to, but it's not needed.

All of the "boilerplate" license text can also be removed after the SPDX
line is added, if you want to do that.  But leave the copyright lines,
that needs to stay.

thanks,

greg k-h

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

* Re: [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier
@ 2019-01-30 21:12       ` gregkh
  0 siblings, 0 replies; 19+ messages in thread
From: gregkh @ 2019-01-30 21:12 UTC (permalink / raw)
  To: Carlos Henrique Lima Melara
  Cc: devel, linux-kernel, neil, linux-mediatek, matthias.bgg,
	linux-arm-kernel

On Wed, Jan 30, 2019 at 08:01:13PM +0000, Carlos Henrique Lima Melara wrote:
> On 30/01/2019 13:29, gregkh@linuxfoundation.org wrote:
> > On Wed, Jan 30, 2019 at 02:48:27PM +0000, Carlos Henrique Lima Melara wrote:
> >> 	This patch fix the checkpatch.p1 warning:
> >>
> >> 	WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> >> 	+/*
> >
> > Why did you not fix up the indentation that was already mentioned?
> 
> The Warning was about the missing SPDX License Identifier, so I added the 
> identifier according to the "license-rules.rst" for C source that is:

I mean the indentation of the text in your changelog, nothing to do with
the actual change in your patch below, sorry for the confusion.

> >   The SPDX license identifier is added in form of a comment.  The comment
> >   style depends on the file type::
> >
> >      C source:	// SPDX-License-Identifier: <SPDX License Expression>
> >      C header:	/* SPDX-License-Identifier: <SPDX License Expression> */
> >      ASM:	/* SPDX-License-Identifier: <SPDX License Expression> */
> >      scripts:	# SPDX-License-Identifier: <SPDX License Expression>
> >      .rst:	.. SPDX-License-Identifier: <SPDX License Expression>
> >      .dts{i}:	// SPDX-License-Identifier: <SPDX License Expression>
> 
> I think that was the correction needed, right?

Yes.

> Still have a question about the license comment in the "ethtooll.c". 
> 
> > /*   This program is free software; you can redistribute it and/or modify
> >  *   it under the terms of the GNU General Public License as published by
> >  *   the Free Software Foundation; version 2 of the License
> >  *
> >  *   This program is distributed in the hope that it will be useful,
> >  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
> >  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> >  *   GNU General Public License for more details.
> >  *
> >  *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
> >  *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
> >  *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
> >  */
> 
> It puts 3 spaces between the * and the text, should it be corrected to 
> only one space?

If you really want to, but it's not needed.

All of the "boilerplate" license text can also be removed after the SPDX
line is added, if you want to do that.  But leave the copyright lines,
that needs to stay.

thanks,

greg k-h

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2019-01-30 21:12 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30 14:48 [PATCH v2] staging: mt7621-eth/ethtool.c: Correction of SPDX license identifier Carlos Henrique Lima Melara
2019-01-30 14:48 ` Carlos Henrique Lima Melara
2019-01-30 15:29 ` gregkh
2019-01-30 15:29   ` gregkh
2019-01-30 15:29   ` gregkh
2019-01-30 20:01   ` Carlos Henrique Lima Melara
2019-01-30 20:01     ` Carlos Henrique Lima Melara
2019-01-30 21:12     ` gregkh
2019-01-30 21:12       ` gregkh
2019-01-30 21:12       ` gregkh
2019-01-30 16:38 ` Andrew Lunn
2019-01-30 16:38   ` Andrew Lunn
2019-01-30 16:38   ` Andrew Lunn
2019-01-30 18:10   ` gregkh
2019-01-30 18:10     ` gregkh
2019-01-30 18:10     ` gregkh
2019-01-30 18:48     ` Andrew Lunn
2019-01-30 18:48       ` Andrew Lunn
2019-01-30 18:48       ` Andrew Lunn

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.