Skip to content

Commit 045f6a6

Browse files
huthbp3tk0v
authored andcommitted
x86/mtrr: Remove license boilerplate text with bad FSF address
The Free Software Foundation does not reside in "675 Mass Ave, Cambridge" anymore, so no need to mention that address in the source code here. But instead of updating the address to their current location, just drop the license boilerplate text and use a proper SPDX license identifier instead. The text talks about the "GNU *Library* General Public License" and "any later version", so LGPL-2.0+ is the right choice here. [ bp: Massage commit message. ] Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/20250801084531.34089-1-thuth@redhat.com
1 parent 966f504 commit 045f6a6

File tree

3 files changed

+3
-42
lines changed

3 files changed

+3
-42
lines changed

arch/x86/include/asm/mtrr.h

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1+
/* SPDX-License-Identifier: LGPL-2.0+ */
12
/* Generic MTRR (Memory Type Range Register) ioctls.
23
34
Copyright (C) 1997-1999 Richard Gooch
45
5-
This library is free software; you can redistribute it and/or
6-
modify it under the terms of the GNU Library General Public
7-
License as published by the Free Software Foundation; either
8-
version 2 of the License, or (at your option) any later version.
9-
10-
This library is distributed in the hope that it will be useful,
11-
but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13-
Library General Public License for more details.
14-
15-
You should have received a copy of the GNU Library General Public
16-
License along with this library; if not, write to the Free
17-
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18-
196
Richard Gooch may be reached by email at rgooch@atnf.csiro.au
207
The postal address is:
218
Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia.

arch/x86/kernel/cpu/mtrr/cleanup.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/*
23
* MTRR (Memory Type Range Register) cleanup
34
*
45
* Copyright (C) 2009 Yinghai Lu
5-
*
6-
* This library is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU Library General Public
8-
* License as published by the Free Software Foundation; either
9-
* version 2 of the License, or (at your option) any later version.
10-
*
11-
* This library is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
* Library General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU Library General Public
17-
* License along with this library; if not, write to the Free
18-
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
196
*/
207
#include <linux/init.h>
218
#include <linux/pci.h>

arch/x86/kernel/cpu/mtrr/mtrr.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
1+
// SPDX-License-Identifier: LGPL-2.0+
12
/* Generic MTRR (Memory Type Range Register) driver.
23
34
Copyright (C) 1997-2000 Richard Gooch
45
Copyright (c) 2002 Patrick Mochel
56
6-
This library is free software; you can redistribute it and/or
7-
modify it under the terms of the GNU Library General Public
8-
License as published by the Free Software Foundation; either
9-
version 2 of the License, or (at your option) any later version.
10-
11-
This library is distributed in the hope that it will be useful,
12-
but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14-
Library General Public License for more details.
15-
16-
You should have received a copy of the GNU Library General Public
17-
License along with this library; if not, write to the Free
18-
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19-
207
Richard Gooch may be reached by email at rgooch@atnf.csiro.au
218
The postal address is:
229
Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia.

0 commit comments

Comments
 (0)