Messages in this thread Patch in this message | | | From | Borislav Petkov <> | Subject | [PATCH 2/4] EDAC, amd64: Add SPDX identifiers | Date | Fri, 9 Nov 2018 16:04:29 +0100 |
| |
From: Borislav Petkov <bp@suse.de>
While the license of these files can be deduced by the MODULE_LICENSE() information, each source file should contain a SPDX identifier. Module license 'GPL' is equivalent to GPL v2 only, i.e. the kernel license. Add the corresponding SPDX identifier.
Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Doug Thompson <norsk5@yahoo.com> Cc: Doug Thompson <dougthompson@xmission.com> --- drivers/edac/amd64_edac.c | 1 + drivers/edac/amd64_edac.h | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 6ea98575a402..cece79f4ef8d 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include "amd64_edac.h" #include <asm/amd_nb.h> diff --git a/drivers/edac/amd64_edac.h b/drivers/edac/amd64_edac.h index 4242f8e39c18..7f1b0cf40663 100644 --- a/drivers/edac/amd64_edac.h +++ b/drivers/edac/amd64_edac.h @@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * AMD64 class Memory Controller kernel module * * Copyright (c) 2009 SoftwareBitMaker. * Copyright (c) 2009-15 Advanced Micro Devices, Inc. - * - * This file may be distributed under the terms of the - * GNU General Public License. */ #include <linux/module.h> -- 2.19.1
| |