linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: X86 ML <x86@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Tom Lendacky <thomas.lendacky@amd.com>,
	Doug Thompson <norsk5@yahoo.com>,
	Doug Thompson <dougthompson@xmission.com>
Subject: [PATCH 2/4] EDAC, amd64: Add SPDX identifiers
Date: Fri,  9 Nov 2018 16:04:29 +0100	[thread overview]
Message-ID: <20181109150431.14147-3-bp@alien8.de> (raw)
In-Reply-To: <20181109150431.14147-1-bp@alien8.de>

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


  parent reply	other threads:[~2018-11-09 15:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-09 15:04 [PATCH 0/4] Add SPDX identifiers to some more files Borislav Petkov
2018-11-09 15:04 ` [PATCH 1/4] EDAC, mce_amd: Add an SPDX identifier Borislav Petkov
2018-11-09 15:04 ` Borislav Petkov [this message]
2018-11-09 15:04 ` [PATCH 3/4] x86/microcode: Add SPDX license identifiers Borislav Petkov
2018-11-09 15:34   ` Tigran Aivazian
2018-11-09 17:04     ` Borislav Petkov
2018-11-09 15:04 ` [PATCH 4/4] x86/mce: Add an " Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181109150431.14147-3-bp@alien8.de \
    --to=bp@alien8.de \
    --cc=dougthompson@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=norsk5@yahoo.com \
    --cc=thomas.lendacky@amd.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).