From: Borislav Petkov <b...@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 <b...@suse.de> Cc: Tom Lendacky <thomas.lenda...@amd.com> Cc: Doug Thompson <nor...@yahoo.com> Cc: Doug Thompson <dougthomp...@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