On 04.06.19 08:10, Thomas Gleixner wrote:
From: Thomas Gleixner tglx@xxxxxxxxxxxxx
Based on 1 normalized pattern(s):
released under the gpl version 2 only
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch17&id=fcbf0d609abd
---
samples/kfifo/bytestream-example.c | 4 +---
samples/kfifo/dma-example.c | 4 +---
samples/kfifo/inttype-example.c | 4 +---
samples/kfifo/record-example.c | 4 +---
4 files changed, 4 insertions(+), 12 deletions(-)
--- a/samples/kfifo/bytestream-example.c
+++ b/samples/kfifo/bytestream-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Sample kfifo byte stream implementation
*
* Copyright (C) 2010 Stefani Seibold <stefani@xxxxxxxxxxx>
- *
- * Released under the GPL version 2 only.
- *
*/
#include <linux/init.h>
--- a/samples/kfifo/dma-example.c
+++ b/samples/kfifo/dma-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Sample fifo dma implementation
*
* Copyright (C) 2010 Stefani Seibold <stefani@xxxxxxxxxxx>
- *
- * Released under the GPL version 2 only.
- *
*/
#include <linux/init.h>
--- a/samples/kfifo/inttype-example.c
+++ b/samples/kfifo/inttype-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Sample kfifo int type implementation
*
* Copyright (C) 2010 Stefani Seibold <stefani@xxxxxxxxxxx>
- *
- * Released under the GPL version 2 only.
- *
*/
#include <linux/init.h>
--- a/samples/kfifo/record-example.c
+++ b/samples/kfifo/record-example.c
@@ -1,10 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* Sample dynamic sized record fifo implementation
*
* Copyright (C) 2010 Stefani Seibold <stefani@xxxxxxxxxxx>
- *
- * Released under the GPL version 2 only.
- *
*/
#include <linux/init.h>
Reviewed-By: Enrico Weigelt <info@xxxxxxxxx>
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287