Skip to contentSkip to conversation

arch/x86/kvm/ioapic: Remove license boilerplate with bad FSF address

PATCH Superseded Thomas Huth 2 participants 4 messages Jul 28, 2025 2 messages not in the archive

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/x86/kvm/ioapic: Remove license boilerplate with bad FSF address

From: Thomas Huth <[email protected]>

The Free Software Foundation does not reside in "59 Temple Place" anymore, so we should not mention that address in the source code here. But instead of updating the address to their current location, let's rather drop the license boilerplate text here and use a proper SPDX license identifier instead. The text talks about the "GNU *Lesser* General Public License" and "any later version", so LGPL-2.1+ is the right choice here.

---
 arch/x86/kvm/ioapic.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
arch/x86/kvm/ioapic.c +1 -14
index 45dae2d5d2f1f..e81f08c98e2f9 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1+
 /*
  *  Copyright (C) 2001  MandrakeSoft S.A.
  *  Copyright 2010 Red Hat, Inc. and/or its affiliates.
@@ -8,20 +9,6 @@
  *    http://www.linux-mandrake.com/
  *    http://www.mandrakesoft.com/
  *
- *  This library is free software; you can redistribute it and/or
- *  modify it under the terms of the GNU Lesser General Public
- *  License as published by the Free Software Foundation; either
- *  version 2 of the License, or (at your option) any later version.
- *
- *  This library 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
- *  Lesser General Public License for more details.
- *
- *  You should have received a copy of the GNU Lesser General Public
- *  License along with this library; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
- *
  *  Yunhong Jiang <[email protected]>
  *  Yaozu (Eddie) Dong <[email protected]>
  *  Based on Xen 3.1 code.
Signature · 1 line
2.50.1

A message that is not in the archive (sent off-list or not yet received): PR3PR07MB81837F4778329A2270CC9318AC5AA@PR3PR07MB8183.eurprd07.prod.outlook.com

#2 lore raw
Quoted 11 lines · Marc-Etienne Vargenau (Nokia)

Hello,

That should be:

// SPDX-License-Identifier: LGPL-2.1-or-later

not

// SPDX-License-Identifier: LGPL-2.1+

« LGPL-2.1+ » is deprecated

Ah, stupid me, I copied it from the wrong file! Thanks for the hint, I'll send a v2!

Thomas

#3 lore raw
In reply to a message not in the archive
Quoted 9 lines · Marc-Etienne Vargenau (Nokia)

Hello,

That should be:
// SPDX-License-Identifier: LGPL-2.1-or-later
not
// SPDX-License-Identifier: LGPL-2.1+

« LGPL-2.1+ » is deprecated
https://spdx.org/licenses/LGPL-2.1+.html

The kernel does not differenciate between the two at this point in time, sorry. Either is fine for now.

Only AFTER we actually tag all files in the tree will we worry about silly things like this.

thanks,

greg k-h

A message that is not in the archive (sent off-list or not yet received): PR3PR07MB81835DAC6ACE7162E81A3AC4AC5AA@PR3PR07MB8183.eurprd07.prod.outlook.com

#5 lore raw

Please don't top-post on kernel mailing lists.

Quoted 3 lines · Marc-Etienne Vargenau (Nokia)

Hi Greg,

I agree this is not major, but it means that for example Yocto creates invalid SPDX SBOMs that must be fixed before it can be used.

Then Yocto already has that regex setup as the kernel has many such instances of this.

Quoted 1 line

It’s better to use the correct syntax in the kernel.

Again, either is fine for now, as per our documentation, don't add additional requirements for contributors that are not there at all.

thanks,

greg k-h