Re: [PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-06-19 Thread David Miller
From: Anatoly Pugachev 
Date: Wed, 19 Jun 2019 10:53:42 +0300

> Update arch/sparc/lib/* to LGPL-2.0+ to be in order with original 
> arch/sparc/lib/COPYING.LIB
> 
> sed -i 's/SPDX-License-Identifier: \(.*\) */SPDX-License-Identifier: 
> LGPL-2.0+ *\//' arch/sparc/lib/*
> 
> Fixes: b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to 
> files with no license")
> Signed-off-by: Anatoly Pugachev 

Looks good.


Re: [PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-06-19 Thread Anatoly Pugachev
On Thu, Jun 13, 2019 at 03:14:56PM -0700, David Miller wrote:
> > On 13/06/2019, David Miller  wrote:
> >> From: Thomas Huth 
> >> Date: Mon, 27 May 2019 18:32:53 +0200
> >>
> >>> We already provide the LGPL-2.0 text in LICENSES/preferred/LGPL-2.0,
> >>> so there is no need for this additional copy here.
> >>>
> >>> Signed-off-by: Thomas Huth 
> >>
> >> Applied.
> >>
> > 
> > Shouldn't the SPDX license identifiers in in arch/sparc/lib be adjusted to
> > reflect the original intent of LGPL licensing?
> 
> Yes, can someone cook up a quick patch for me for that?
> 
> Thanks.

David,

can you please review this quick one? 

Thanks.
Update arch/sparc/lib/* to LGPL-2.0+ to be in order with original arch/sparc/lib/COPYING.LIB

sed -i 's/SPDX-License-Identifier: \(.*\) */SPDX-License-Identifier: LGPL-2.0+ *\//' arch/sparc/lib/*

Fixes: b24413180f56 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license")
Signed-off-by: Anatoly Pugachev 
CC: Kate Stewart 
CC: Philippe Ombredanne 
CC: Thomas Gleixner 
CC: David S. Miller 
---
 arch/sparc/lib/GENbzero.S| 2 +-
 arch/sparc/lib/GENcopy_from_user.S   | 2 +-
 arch/sparc/lib/GENcopy_to_user.S | 2 +-
 arch/sparc/lib/GENmemcpy.S   | 2 +-
 arch/sparc/lib/GENpage.S | 2 +-
 arch/sparc/lib/GENpatch.S| 2 +-
 arch/sparc/lib/Makefile  | 2 +-
 arch/sparc/lib/NG2copy_from_user.S   | 2 +-
 arch/sparc/lib/NG2copy_to_user.S | 2 +-
 arch/sparc/lib/NG2memcpy.S   | 2 +-
 arch/sparc/lib/NG2patch.S| 2 +-
 arch/sparc/lib/NG4clear_page.S   | 2 +-
 arch/sparc/lib/NG4copy_from_user.S   | 2 +-
 arch/sparc/lib/NG4copy_page.S| 2 +-
 arch/sparc/lib/NG4copy_to_user.S | 2 +-
 arch/sparc/lib/NG4memcpy.S   | 2 +-
 arch/sparc/lib/NG4memset.S   | 2 +-
 arch/sparc/lib/NG4patch.S| 2 +-
 arch/sparc/lib/NGbzero.S | 2 +-
 arch/sparc/lib/NGcopy_from_user.S| 2 +-
 arch/sparc/lib/NGcopy_to_user.S  | 2 +-
 arch/sparc/lib/NGmemcpy.S| 2 +-
 arch/sparc/lib/NGpage.S  | 2 +-
 arch/sparc/lib/NGpatch.S | 2 +-
 arch/sparc/lib/PeeCeeI.c | 2 +-
 arch/sparc/lib/U1copy_from_user.S| 2 +-
 arch/sparc/lib/U1copy_to_user.S  | 2 +-
 arch/sparc/lib/U1memcpy.S| 2 +-
 arch/sparc/lib/U3copy_from_user.S| 2 +-
 arch/sparc/lib/U3copy_to_user.S  | 2 +-
 arch/sparc/lib/U3memcpy.S| 2 +-
 arch/sparc/lib/U3patch.S | 2 +-
 arch/sparc/lib/VISsave.S | 2 +-
 arch/sparc/lib/ashldi3.S | 2 +-
 arch/sparc/lib/ashrdi3.S | 2 +-
 arch/sparc/lib/atomic32.c| 2 +-
 arch/sparc/lib/atomic_64.S   | 2 +-
 arch/sparc/lib/bitext.c  | 2 +-
 arch/sparc/lib/bitops.S  | 2 +-
 arch/sparc/lib/blockops.S| 2 +-
 arch/sparc/lib/bzero.S   | 2 +-
 arch/sparc/lib/checksum_32.S | 2 +-
 arch/sparc/lib/checksum_64.S | 2 +-
 arch/sparc/lib/clear_page.S  | 2 +-
 arch/sparc/lib/cmpdi2.c  | 2 +-
 arch/sparc/lib/copy_in_user.S| 2 +-
 arch/sparc/lib/copy_page.S   | 2 +-
 arch/sparc/lib/copy_user.S   | 2 +-
 arch/sparc/lib/csum_copy.S   | 2 +-
 arch/sparc/lib/csum_copy_from_user.S | 2 +-
 arch/sparc/lib/csum_copy_to_user.S   | 2 +-
 arch/sparc/lib/divdi3.S  | 2 +-
 arch/sparc/lib/ffs.S | 2 +-
 arch/sparc/lib/hweight.S | 2 +-
 arch/sparc/lib/iomap.c   | 2 +-
 arch/sparc/lib/ipcsum.S  | 2 +-
 arch/sparc/lib/libgcc.h  | 2 +-
 arch/sparc/lib/locks.S   | 2 +-
 arch/sparc/lib/lshrdi3.S | 2 +-
 arch/sparc/lib/mcount.S  | 2 +-
 arch/sparc/lib/memcmp.S  | 2 +-
 arch/sparc/lib/memcpy.S  | 2 +-
 arch/sparc/lib/memmove.S | 2 +-
 arch/sparc/lib/memscan_32.S  | 2 +-
 arch/sparc/lib/memscan_64.S  | 2 +-
 arch/sparc/lib/memset.S  | 2 +-
 arch/sparc/lib/muldi3.S  | 2 +-
 arch/sparc/lib/multi3.S  | 2 +-
 arch/sparc/lib/strlen.S  | 2 +-
 arch/sparc/lib/strncmp_32.S  | 2 +-
 arch/sparc/lib/strncmp_64.S  | 2 +-
 arch/sparc/lib/ucmpdi2.c | 2 +-
 arch/sparc/lib/udivdi3.S | 2 +-
 arch/sparc/lib/xor.S | 2 +-
 74 files changed, 74 insertions(+), 74 deletions(-)

diff --git a/arch/sparc/lib/GENbzero.S b/arch/sparc/lib/GENbzero.S
index 63d618857d49..534347838dc2 100644
--- a/arch/sparc/lib/GENbzero.S
+++ b/arch/sparc/lib/GENbzero.S
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: LGPL-2.0+ */
 /* GENbzero.S: Generic sparc64 memset/clear_user.
  *
  * Copyright (C) 2007 David S. Miller (da...@davemloft.net)
diff --git a/arch/sparc/lib/GENcopy_from_user.S b/arch/sparc/lib/GENcopy_from_user.S
index 6891a5678ea3..eede85e30109 100644
--- a/arch/sparc/lib/GENcopy_from_user.S
+++ 

Re: [PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-06-13 Thread David Miller
From: Kjetil Oftedal 
Date: Fri, 14 Jun 2019 00:04:28 +0200

> On 13/06/2019, David Miller  wrote:
>> From: Thomas Huth 
>> Date: Mon, 27 May 2019 18:32:53 +0200
>>
>>> We already provide the LGPL-2.0 text in LICENSES/preferred/LGPL-2.0,
>>> so there is no need for this additional copy here.
>>>
>>> Signed-off-by: Thomas Huth 
>>
>> Applied.
>>
> 
> Shouldn't the SPDX license identifiers in in arch/sparc/lib be adjusted to
> reflect the original intent of LGPL licensing?

Yes, can someone cook up a quick patch for me for that?

Thanks.


Re: [PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-06-13 Thread Kjetil Oftedal
On 13/06/2019, David Miller  wrote:
> From: Thomas Huth 
> Date: Mon, 27 May 2019 18:32:53 +0200
>
>> We already provide the LGPL-2.0 text in LICENSES/preferred/LGPL-2.0,
>> so there is no need for this additional copy here.
>>
>> Signed-off-by: Thomas Huth 
>
> Applied.
>

Shouldn't the SPDX license identifiers in in arch/sparc/lib be adjusted to
reflect the original intent of LGPL licensing?

-
Kjetil Oftedal


Re: [PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-06-13 Thread David Miller
From: Thomas Huth 
Date: Mon, 27 May 2019 18:32:53 +0200

> We already provide the LGPL-2.0 text in LICENSES/preferred/LGPL-2.0,
> so there is no need for this additional copy here.
> 
> Signed-off-by: Thomas Huth 

Applied.


Re: [PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-05-27 Thread Kjetil Oftedal
On 27/05/2019, Thomas Huth  wrote:
> We already provide the LGPL-2.0 text in LICENSES/preferred/LGPL-2.0,
> so there is no need for this additional copy here.
>
> Signed-off-by: Thomas Huth 
> ---
>  arch/sparc/lib/COPYING.LIB | 481 -
>  1 file changed, 481 deletions(-)
>  delete mode 100644 arch/sparc/lib/COPYING.LIB
>
> diff --git a/arch/sparc/lib/COPYING.LIB b/arch/sparc/lib/COPYING.LIB
> deleted file mode 100644
> index eb685a5ec981..
> --- a/arch/sparc/lib/COPYING.LIB
> +++ /dev/null
> @@ -1,481 +0,0 @@
> -   GNU LIBRARY GENERAL PUBLIC LICENSE
> -Version 2, June 1991
> -
> - Copyright (C) 1991 Free Software Foundation, Inc.
> -675 Mass Ave, Cambridge, MA 02139, USA
> - Everyone is permitted to copy and distribute verbatim copies
> - of this license document, but changing it is not allowed.
> -
> -[This is the first released version of the library GPL.  It is
> - numbered 2 because it goes with version 2 of the ordinary GPL.]
> -
> - Preamble
> -
> -  The licenses for most software are designed to take away your
> -freedom to share and change it.  By contrast, the GNU General Public
> -Licenses are intended to guarantee your freedom to share and change
> -free software--to make sure the software is free for all its users.
> -
> -  This license, the Library General Public License, applies to some
> -specially designated Free Software Foundation software, and to any
> -other libraries whose authors decide to use it.  You can use it for
> -your libraries, too.
> -
> -  When we speak of free software, we are referring to freedom, not
> -price.  Our General Public Licenses are designed to make sure that you
> -have the freedom to distribute copies of free software (and charge for
> -this service if you wish), that you receive source code or can get it
> -if you want it, that you can change the software or use pieces of it
> -in new free programs; and that you know you can do these things.
> -
> -  To protect your rights, we need to make restrictions that forbid
> -anyone to deny you these rights or to ask you to surrender the rights.
> -These restrictions translate to certain responsibilities for you if
> -you distribute copies of the library, or if you modify it.
> -
> -  For example, if you distribute copies of the library, whether gratis
> -or for a fee, you must give the recipients all the rights that we gave
> -you.  You must make sure that they, too, receive or can get the source
> -code.  If you link a program with the library, you must provide
> -complete object files to the recipients so that they can relink them
> -with the library, after making changes to the library and recompiling
> -it.  And you must show them these terms so they know their rights.
> -
> -  Our method of protecting your rights has two steps: (1) copyright
> -the library, and (2) offer you this license which gives you legal
> -permission to copy, distribute and/or modify the library.
> -
> -  Also, for each distributor's protection, we want to make certain
> -that everyone understands that there is no warranty for this free
> -library.  If the library is modified by someone else and passed on, we
> -want its recipients to know that what they have is not the original
> -version, so that any problems introduced by others will not reflect on
> -the original authors' reputations.
> -
> -  Finally, any free program is threatened constantly by software
> -patents.  We wish to avoid the danger that companies distributing free
> -software will individually obtain patent licenses, thus in effect
> -transforming the program into proprietary software.  To prevent this,
> -we have made it clear that any patent must be licensed for everyone's
> -free use or not licensed at all.
> -
> -  Most GNU software, including some libraries, is covered by the ordinary
> -GNU General Public License, which was designed for utility programs.  This
> -license, the GNU Library General Public License, applies to certain
> -designated libraries.  This license is quite different from the ordinary
> -one; be sure to read it in full, and don't assume that anything in it is
> -the same as in the ordinary license.
> -
> -  The reason we have a separate public license for some libraries is that
> -they blur the distinction we usually make between modifying or adding to a
> -program and simply using it.  Linking a program with a library, without
> -changing the library, is in some sense simply using the library, and is
> -analogous to running a utility program or application program.  However,
> in
> -a textual and legal sense, the linked executable is a combined work, a
> -derivative of the original library, and the ordinary General Public
> License
> -treats it as such.
> -
> -  Because of this blurred distinction, using the ordinary General
> -Public License for libraries did not effectively promote software
> -sharing, because most 

[PATCH] sparc: Remove redundant copy of the LGPL-2.0

2019-05-27 Thread Thomas Huth
We already provide the LGPL-2.0 text in LICENSES/preferred/LGPL-2.0,
so there is no need for this additional copy here.

Signed-off-by: Thomas Huth 
---
 arch/sparc/lib/COPYING.LIB | 481 -
 1 file changed, 481 deletions(-)
 delete mode 100644 arch/sparc/lib/COPYING.LIB

diff --git a/arch/sparc/lib/COPYING.LIB b/arch/sparc/lib/COPYING.LIB
deleted file mode 100644
index eb685a5ec981..
--- a/arch/sparc/lib/COPYING.LIB
+++ /dev/null
@@ -1,481 +0,0 @@
- GNU LIBRARY GENERAL PUBLIC LICENSE
-  Version 2, June 1991
-
- Copyright (C) 1991 Free Software Foundation, Inc.
-675 Mass Ave, Cambridge, MA 02139, USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the library GPL.  It is
- numbered 2 because it goes with version 2 of the ordinary GPL.]
-
-   Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
-  This license, the Library General Public License, applies to some
-specially designated Free Software Foundation software, and to any
-other libraries whose authors decide to use it.  You can use it for
-your libraries, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if
-you distribute copies of the library, or if you modify it.
-
-  For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you.  You must make sure that they, too, receive or can get the source
-code.  If you link a program with the library, you must provide
-complete object files to the recipients so that they can relink them
-with the library, after making changes to the library and recompiling
-it.  And you must show them these terms so they know their rights.
-
-  Our method of protecting your rights has two steps: (1) copyright
-the library, and (2) offer you this license which gives you legal
-permission to copy, distribute and/or modify the library.
-
-  Also, for each distributor's protection, we want to make certain
-that everyone understands that there is no warranty for this free
-library.  If the library is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original
-version, so that any problems introduced by others will not reflect on
-the original authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that companies distributing free
-software will individually obtain patent licenses, thus in effect
-transforming the program into proprietary software.  To prevent this,
-we have made it clear that any patent must be licensed for everyone's
-free use or not licensed at all.
-
-  Most GNU software, including some libraries, is covered by the ordinary
-GNU General Public License, which was designed for utility programs.  This
-license, the GNU Library General Public License, applies to certain
-designated libraries.  This license is quite different from the ordinary
-one; be sure to read it in full, and don't assume that anything in it is
-the same as in the ordinary license.
-
-  The reason we have a separate public license for some libraries is that
-they blur the distinction we usually make between modifying or adding to a
-program and simply using it.  Linking a program with a library, without
-changing the library, is in some sense simply using the library, and is
-analogous to running a utility program or application program.  However, in
-a textual and legal sense, the linked executable is a combined work, a
-derivative of the original library, and the ordinary General Public License
-treats it as such.
-
-  Because of this blurred distinction, using the ordinary General
-Public License for libraries did not effectively promote software
-sharing, because most developers did not use the libraries.  We
-concluded that weaker conditions might promote sharing better.
-
-  However, unrestricted linking of non-free programs would deprive the
-users of those programs of all benefit from