2017-12-20 20:16:09

by Cheah Kok Cheong

[permalink] [raw]
Subject: [PATCH 1/2] padata: Remove FSF address

Remove FSF address otherwise checkpatch will flag my next patch.

Signed-off-by: Cheah Kok Cheong <[email protected]>
---
kernel/padata.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/kernel/padata.c b/kernel/padata.c
index 57c0074..9d91909 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -14,10 +14,6 @@
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include <linux/export.h>
--
2.7.4


2017-12-20 20:16:21

by Cheah Kok Cheong

[permalink] [raw]
Subject: [PATCH 2/2] padata: Remove redundant export.h header

It is already included in module.h, see
commit f50169324df4 ("module.h: split out the EXPORT_SYMBOL into export.h")
for their relationship.

Signed-off-by: Cheah Kok Cheong <[email protected]>
---
kernel/padata.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/kernel/padata.c b/kernel/padata.c
index 9d91909..e265953 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -16,7 +16,6 @@
* more details.
*/

-#include <linux/export.h>
#include <linux/cpumask.h>
#include <linux/err.h>
#include <linux/cpu.h>
--
2.7.4

2017-12-20 20:21:34

by Philippe Ombredanne

[permalink] [raw]
Subject: Re: [PATCH 1/2] padata: Remove FSF address

On Wed, Dec 20, 2017 at 9:15 PM, Cheah Kok Cheong <[email protected]> wrote:
> Remove FSF address otherwise checkpatch will flag my next patch.
>
> Signed-off-by: Cheah Kok Cheong <[email protected]>
> ---
> kernel/padata.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/kernel/padata.c b/kernel/padata.c
> index 57c0074..9d91909 100644
> --- a/kernel/padata.c
> +++ b/kernel/padata.c
> @@ -14,10 +14,6 @@
> * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc.,
> - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
> */
>
> #include <linux/export.h>
> --
> 2.7.4
>


Why not use instead the simpler SPDX ids?
--
Cordially
Philippe Ombredanne

2017-12-20 21:17:53

by Cheah Kok Cheong

[permalink] [raw]
Subject: Re: [PATCH 1/2] padata: Remove FSF address

On Wed, Dec 20, 2017 at 09:20:48PM +0100, Philippe Ombredanne wrote:
> On Wed, Dec 20, 2017 at 9:15 PM, Cheah Kok Cheong <[email protected]> wrote:
> > Remove FSF address otherwise checkpatch will flag my next patch.
> >
> > Signed-off-by: Cheah Kok Cheong <[email protected]>
> > ---
> > kernel/padata.c | 4 ----
> > 1 file changed, 4 deletions(-)
> >
> > diff --git a/kernel/padata.c b/kernel/padata.c
> > index 57c0074..9d91909 100644
> > --- a/kernel/padata.c
> > +++ b/kernel/padata.c
> > @@ -14,10 +14,6 @@
> > * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> > * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> > * more details.
> > - *
> > - * You should have received a copy of the GNU General Public License along with
> > - * this program; if not, write to the Free Software Foundation, Inc.,
> > - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
> > */
> >
> > #include <linux/export.h>
> > --
> > 2.7.4
> >
>
>
> Why not use instead the simpler SPDX ids?
> --
> Cordially
> Philippe Ombredanne

Hi Philippe,
Adding the SPDX id can be the subject of a separate patch.
Believe you are part of the team doing an audit in this matter.
I shall leave adding the SPDX id to you guys the professionals.
Looks like you guys are using script to do this en masse.

But if you insist and our maintainer is agreeable, I can send
another patch to add the SPDX id.

Thanks.
Brgds,
CheahKC

2017-12-21 07:35:22

by Philippe Ombredanne

[permalink] [raw]
Subject: Re: [PATCH 1/2] padata: Remove FSF address

Dear CheahKC,

On Wed, Dec 20, 2017 at 10:17 PM, Cheah Kok Cheong <[email protected]> wrote:
> On Wed, Dec 20, 2017 at 09:20:48PM +0100, Philippe Ombredanne wrote:
>> On Wed, Dec 20, 2017 at 9:15 PM, Cheah Kok Cheong <[email protected]> wrote:
>> > Remove FSF address otherwise checkpatch will flag my next patch.
>> >
>> > Signed-off-by: Cheah Kok Cheong <[email protected]>
>> > ---
>> > kernel/padata.c | 4 ----
>> > 1 file changed, 4 deletions(-)
>> >
>> > diff --git a/kernel/padata.c b/kernel/padata.c
>> > index 57c0074..9d91909 100644
>> > --- a/kernel/padata.c
>> > +++ b/kernel/padata.c
>> > @@ -14,10 +14,6 @@
>> > * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
>> > * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
>> > * more details.
>> > - *
>> > - * You should have received a copy of the GNU General Public License along with
>> > - * this program; if not, write to the Free Software Foundation, Inc.,
>> > - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
>> > */
>> >
>> > #include <linux/export.h>
>> > --
>> > 2.7.4
>> >
>>
>>
>> Why not use instead the simpler SPDX ids?
>> --
>> Cordially
>> Philippe Ombredanne
>
> Hi Philippe,
> Adding the SPDX id can be the subject of a separate patch.
> Believe you are part of the team doing an audit in this matter.
> I shall leave adding the SPDX id to you guys the professionals.
> Looks like you guys are using script to do this en masse.
>
> But if you insist and our maintainer is agreeable, I can send
> another patch to add the SPDX id.

If you could work it out directly that would be best. There are a lot
of files in the kernel and each one needs a careful review even with
best license detection script (which . So tagging files on the go when
they are updated is the best way to help!

Thank you.

--
Cordially
Philippe Ombredanne

2017-12-21 11:06:14

by Cheah Kok Cheong

[permalink] [raw]
Subject: Re: [PATCH 1/2] padata: Remove FSF address

On Thu, Dec 21, 2017 at 08:34:37AM +0100, Philippe Ombredanne wrote:
> Dear CheahKC,
>
> On Wed, Dec 20, 2017 at 10:17 PM, Cheah Kok Cheong <[email protected]> wrote:
> > On Wed, Dec 20, 2017 at 09:20:48PM +0100, Philippe Ombredanne wrote:
> >> On Wed, Dec 20, 2017 at 9:15 PM, Cheah Kok Cheong <[email protected]> wrote:
> >> > Remove FSF address otherwise checkpatch will flag my next patch.
> >> >
> >> > Signed-off-by: Cheah Kok Cheong <[email protected]>
> >> > ---
> >> > kernel/padata.c | 4 ----
> >> > 1 file changed, 4 deletions(-)
> >> >
> >> > diff --git a/kernel/padata.c b/kernel/padata.c
> >> > index 57c0074..9d91909 100644
> >> > --- a/kernel/padata.c
> >> > +++ b/kernel/padata.c
> >> > @@ -14,10 +14,6 @@
> >> > * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> >> > * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> >> > * more details.
> >> > - *
> >> > - * You should have received a copy of the GNU General Public License along with
> >> > - * this program; if not, write to the Free Software Foundation, Inc.,
> >> > - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
> >> > */
> >> >
> >> > #include <linux/export.h>
> >> > --
> >> > 2.7.4
> >> >
> >>
> >>
> >> Why not use instead the simpler SPDX ids?
> >> --
> >> Cordially
> >> Philippe Ombredanne
> >
> > Hi Philippe,
> > Adding the SPDX id can be the subject of a separate patch.
> > Believe you are part of the team doing an audit in this matter.
> > I shall leave adding the SPDX id to you guys the professionals.
> > Looks like you guys are using script to do this en masse.
> >
> > But if you insist and our maintainer is agreeable, I can send
> > another patch to add the SPDX id.
>
> If you could work it out directly that would be best. There are a lot
> of files in the kernel and each one needs a careful review even with
> best license detection script (which . So tagging files on the go when
> they are updated is the best way to help!
>
> Thank you.
>
> --
> Cordially
> Philippe Ombredanne
>
Ok I'll send a separate patch to add the SPDX id. Glad to help.

Thank you.

Brgds,
CheahKC

2017-12-21 11:36:45

by Cheah Kok Cheong

[permalink] [raw]
Subject: [PATCH] padata: add SPDX identifier

Add SPDX license identifier according to the type of license text found
in the file.

Cc: Philippe Ombredanne <[email protected]>
Signed-off-by: Cheah Kok Cheong <[email protected]>
---
kernel/padata.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/padata.c b/kernel/padata.c
index e265953..eb9a9d9 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* padata.c - generic interface to process data streams in parallel
*
--
2.7.4

2017-12-28 06:53:36

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] padata: add SPDX identifier

Cheah Kok Cheong <[email protected]> wrote:
> Add SPDX license identifier according to the type of license text found
> in the file.
>
> Cc: Philippe Ombredanne <[email protected]>
> Signed-off-by: Cheah Kok Cheong <[email protected]>
> ---
> kernel/padata.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/padata.c b/kernel/padata.c
> index e265953..eb9a9d9 100644
> --- a/kernel/padata.c
> +++ b/kernel/padata.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
> /*
> * padata.c - generic interface to process data streams in parallel
> *

Steffen, are you OK with this patch?

Thanks,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

2017-12-30 08:21:13

by Steffen Klassert

[permalink] [raw]
Subject: Re: [PATCH] padata: add SPDX identifier

On Thu, Dec 28, 2017 at 05:53:27PM +1100, Herbert Xu wrote:
> Cheah Kok Cheong <[email protected]> wrote:
> > Add SPDX license identifier according to the type of license text found
> > in the file.
> >
> > Cc: Philippe Ombredanne <[email protected]>
> > Signed-off-by: Cheah Kok Cheong <[email protected]>
> > ---
> > kernel/padata.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/kernel/padata.c b/kernel/padata.c
> > index e265953..eb9a9d9 100644
> > --- a/kernel/padata.c
> > +++ b/kernel/padata.c
> > @@ -1,3 +1,4 @@
> > +// SPDX-License-Identifier: GPL-2.0
> > /*
> > * padata.c - generic interface to process data streams in parallel
> > *
>
> Steffen, are you OK with this patch?

Yes, I'm ok with this.

Acked-by: Steffen Klassert <[email protected]>

2018-01-05 11:14:34

by Herbert Xu

[permalink] [raw]
Subject: Re: padata: add SPDX identifier

On Thu, Dec 21, 2017 at 07:35:30PM +0800, Cheah Kok Cheong wrote:
> Add SPDX license identifier according to the type of license text found
> in the file.
>
> Cc: Philippe Ombredanne <[email protected]>
> Signed-off-by: Cheah Kok Cheong <[email protected]>
> Acked-by: Steffen Klassert <[email protected]>

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt