Skip to content

Commit 77141dc

Browse files
author
Christoph Hellwig
committed
nvmet: convert to SPDX identifiers
Update license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
1 parent 3641bd3 commit 77141dc

File tree

7 files changed

+7
-63
lines changed

7 files changed

+7
-63
lines changed

drivers/nvme/target/admin-cmd.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* NVMe admin command implementation.
34
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it
6-
* under the terms and conditions of the GNU General Public License,
7-
* version 2, as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope it will be useful, but WITHOUT
10-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-
* more details.
135
*/
146
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
157
#include <linux/module.h>

drivers/nvme/target/configfs.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Configfs interface for the NVMe target.
34
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it
6-
* under the terms and conditions of the GNU General Public License,
7-
* version 2, as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope it will be useful, but WITHOUT
10-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-
* more details.
135
*/
146
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
157
#include <linux/kernel.h>

drivers/nvme/target/core.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Common code for the NVMe target.
34
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it
6-
* under the terms and conditions of the GNU General Public License,
7-
* version 2, as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope it will be useful, but WITHOUT
10-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-
* more details.
135
*/
146
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
157
#include <linux/module.h>

drivers/nvme/target/discovery.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* Discovery service for the NVMe over Fabrics target.
34
* Copyright (C) 2016 Intel Corporation. All rights reserved.
4-
*
5-
* This program is free software; you can redistribute it and/or
6-
* modify it under the terms of the GNU General Public License version
7-
* 2 as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
135
*/
146
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
157
#include <linux/slab.h>

drivers/nvme/target/fabrics-cmd.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* NVMe Fabrics command implementation.
34
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it
6-
* under the terms and conditions of the GNU General Public License,
7-
* version 2, as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope it will be useful, but WITHOUT
10-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-
* more details.
135
*/
146
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
157
#include <linux/blkdev.h>

drivers/nvme/target/io-cmd-bdev.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1+
// SPDX-License-Identifier: GPL-2.0
12
/*
23
* NVMe I/O command implementation.
34
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
4-
*
5-
* This program is free software; you can redistribute it and/or modify it
6-
* under the terms and conditions of the GNU General Public License,
7-
* version 2, as published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope it will be useful, but WITHOUT
10-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12-
* more details.
135
*/
146
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
157
#include <linux/blkdev.h>

drivers/nvme/target/nvmet.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
1+
/* SPDX-License-Identifier: GPL-2.0 */
12
/*
23
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
3-
*
4-
* This program is free software; you can redistribute it and/or modify it
5-
* under the terms and conditions of the GNU General Public License,
6-
* version 2, as published by the Free Software Foundation.
7-
*
8-
* This program is distributed in the hope it will be useful, but WITHOUT
9-
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10-
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11-
* more details.
124
*/
135

146
#ifndef _NVMET_H

0 commit comments

Comments
 (0)