summaryrefslogtreecommitdiffstatshomepage
path: root/samples
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-06-22 04:59:24 -0800
committerDavid S. Miller <davem@davemloft.net>2019-06-22 04:59:24 -0800
commit92ad6325cb891bb455487bfe90cc47d18aa6ec37 (patch)
tree433a7ef938fae69789216043f67eff9f9c6b0c68 /samples
parente0effb5fbd56a8b2b8917611cbf4fcd9aba92b8f (diff)
parentc356dc4b540edd6c02b409dd8cf3208ba2804c38 (diff)
downloadlinux-stable-92ad6325cb891bb455487bfe90cc47d18aa6ec37.tar.gz
linux-stable-92ad6325cb891bb455487bfe90cc47d18aa6ec37.tar.bz2
linux-stable-92ad6325cb891bb455487bfe90cc47d18aa6ec37.tar.xz
linux-stable-92ad6325cb891bb455487bfe90cc47d18aa6ec37.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor SPDX change conflict. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/xdp_redirect_cpu_user.c3
-rw-r--r--samples/kfifo/bytestream-example.c4
-rw-r--r--samples/kfifo/dma-example.c4
-rw-r--r--samples/kfifo/inttype-example.c4
-rw-r--r--samples/kfifo/record-example.c4
-rw-r--r--samples/vfio-mdev/mtty.c6
6 files changed, 7 insertions, 18 deletions
diff --git a/samples/bpf/xdp_redirect_cpu_user.c b/samples/bpf/xdp_redirect_cpu_user.c
index f5dc7e1f8bc6..0da6e9e7132e 100644
--- a/samples/bpf/xdp_redirect_cpu_user.c
+++ b/samples/bpf/xdp_redirect_cpu_user.c
@@ -1,4 +1,5 @@
1/* GPLv2 Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc. 1// SPDX-License-Identifier: GPL-2.0-only
2/* Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc.
2 */ 3 */
3static const char *__doc__ = 4static const char *__doc__ =
4 " XDP redirect with a CPU-map type \"BPF_MAP_TYPE_CPUMAP\""; 5 " XDP redirect with a CPU-map type \"BPF_MAP_TYPE_CPUMAP\"";
diff --git a/samples/kfifo/bytestream-example.c b/samples/kfifo/bytestream-example.c
index 2fca916d9edf..9ca3e4400c98 100644
--- a/samples/kfifo/bytestream-example.c
+++ b/samples/kfifo/bytestream-example.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Sample kfifo byte stream implementation 3 * Sample kfifo byte stream implementation
3 * 4 *
4 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net> 5 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
5 *
6 * Released under the GPL version 2 only.
7 *
8 */ 6 */
9 7
10#include <linux/init.h> 8#include <linux/init.h>
diff --git a/samples/kfifo/dma-example.c b/samples/kfifo/dma-example.c
index be0d4a5fdf53..0cf27483cb36 100644
--- a/samples/kfifo/dma-example.c
+++ b/samples/kfifo/dma-example.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Sample fifo dma implementation 3 * Sample fifo dma implementation
3 * 4 *
4 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net> 5 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
5 *
6 * Released under the GPL version 2 only.
7 *
8 */ 6 */
9 7
10#include <linux/init.h> 8#include <linux/init.h>
diff --git a/samples/kfifo/inttype-example.c b/samples/kfifo/inttype-example.c
index 8dc3c2e7105a..6cdeb72f83f1 100644
--- a/samples/kfifo/inttype-example.c
+++ b/samples/kfifo/inttype-example.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Sample kfifo int type implementation 3 * Sample kfifo int type implementation
3 * 4 *
4 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net> 5 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
5 *
6 * Released under the GPL version 2 only.
7 *
8 */ 6 */
9 7
10#include <linux/init.h> 8#include <linux/init.h>
diff --git a/samples/kfifo/record-example.c b/samples/kfifo/record-example.c
index 2d7529eeb294..79ae8bb04120 100644
--- a/samples/kfifo/record-example.c
+++ b/samples/kfifo/record-example.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Sample dynamic sized record fifo implementation 3 * Sample dynamic sized record fifo implementation
3 * 4 *
4 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net> 5 * Copyright (C) 2010 Stefani Seibold <stefani@seibold.net>
5 *
6 * Released under the GPL version 2 only.
7 *
8 */ 6 */
9 7
10#include <linux/init.h> 8#include <linux/init.h>
diff --git a/samples/vfio-mdev/mtty.c b/samples/vfio-mdev/mtty.c
index 1c77c370c92f..ba7ef53c5f6a 100644
--- a/samples/vfio-mdev/mtty.c
+++ b/samples/vfio-mdev/mtty.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Mediated virtual PCI serial host device driver 3 * Mediated virtual PCI serial host device driver
3 * 4 *
@@ -5,13 +6,8 @@
5 * Author: Neo Jia <cjia@nvidia.com> 6 * Author: Neo Jia <cjia@nvidia.com>
6 * Kirti Wankhede <kwankhede@nvidia.com> 7 * Kirti Wankhede <kwankhede@nvidia.com>
7 * 8 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
11 *
12 * Sample driver that creates mdev device that simulates serial port over PCI 9 * Sample driver that creates mdev device that simulates serial port over PCI
13 * card. 10 * card.
14 *
15 */ 11 */
16 12
17#include <linux/init.h> 13#include <linux/init.h>