Skip to content

Commit 2d1fcb6

Browse files
Christoph Hellwigmartinkpetersen
authored andcommitted
scsi: libiscsi: switch to SPDX tags
Use the the GPLv2+ SPDX tag instead of verbose boilerplate text. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 2626b08 commit 2d1fcb6

7 files changed

Lines changed: 7 additions & 91 deletions

File tree

‎drivers/scsi/libiscsi.c‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* iSCSI lib functions
34
*
@@ -6,20 +7,6 @@
67
* Copyright (C) 2004 - 2005 Dmitry Yusupov
78
* Copyright (C) 2004 - 2005 Alex Aizman
89
* maintained by open-iscsi@googlegroups.com
9-
*
10-
* This program is free software; you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published by
12-
* the Free Software Foundation; either version 2 of the License, or
13-
* (at your option) any later version.
14-
*
15-
* This program is distributed in the hope that it will be useful,
16-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18-
* GNU General Public License for more details.
19-
*
20-
* You should have received a copy of the GNU General Public License
21-
* along with this program; if not, write to the Free Software
22-
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2310
*/
2411
#include <linux/types.h>
2512
#include <linux/kfifo.h>

‎drivers/scsi/libiscsi_tcp.c‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* iSCSI over TCP/IP Data-Path lib
34
*
@@ -7,18 +8,6 @@
78
* Copyright (C) 2006 Red Hat, Inc. All rights reserved.
89
* maintained by open-iscsi@googlegroups.com
910
*
10-
* This program is free software; you can redistribute it and/or modify
11-
* it under the terms of the GNU General Public License as published
12-
* by the Free Software Foundation; either version 2 of the License, or
13-
* (at your option) any later version.
14-
*
15-
* This program is distributed in the hope that it will be useful, but
16-
* WITHOUT ANY WARRANTY; without even the implied warranty of
17-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18-
* General Public License for more details.
19-
*
20-
* See the file COPYING included with this distribution for more details.
21-
*
2211
* Credits:
2312
* Christoph Hellwig
2413
* FUJITA Tomonori

‎include/scsi/iscsi_if.h‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* iSCSI User/Kernel Shares (Defines, Constants, Protocol definitions, etc)
34
*
45
* Copyright (C) 2005 Dmitry Yusupov
56
* Copyright (C) 2005 Alex Aizman
67
* maintained by open-iscsi@googlegroups.com
7-
*
8-
* This program is free software; you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published
10-
* by the Free Software Foundation; either version 2 of the License, or
11-
* (at your option) any later version.
12-
*
13-
* This program is distributed in the hope that it will be useful, but
14-
* WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16-
* General Public License for more details.
17-
*
18-
* See the file COPYING included with this distribution for more details.
198
*/
209

2110
#ifndef ISCSI_IF_H

‎include/scsi/iscsi_proto.h‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* RFC 3720 (iSCSI) protocol data types
34
*
45
* Copyright (C) 2005 Dmitry Yusupov
56
* Copyright (C) 2005 Alex Aizman
67
* maintained by open-iscsi@googlegroups.com
7-
*
8-
* This program is free software; you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published
10-
* by the Free Software Foundation; either version 2 of the License, or
11-
* (at your option) any later version.
12-
*
13-
* This program is distributed in the hope that it will be useful, but
14-
* WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16-
* General Public License for more details.
17-
*
18-
* See the file COPYING included with this distribution for more details.
198
*/
209

2110
#ifndef ISCSI_PROTO_H

‎include/scsi/libiscsi.h‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,11 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* iSCSI lib definitions
34
*
45
* Copyright (C) 2006 Red Hat, Inc. All rights reserved.
56
* Copyright (C) 2004 - 2006 Mike Christie
67
* Copyright (C) 2004 - 2005 Dmitry Yusupov
78
* Copyright (C) 2004 - 2005 Alex Aizman
8-
*
9-
* This program is free software; you can redistribute it and/or modify
10-
* it under the terms of the GNU General Public License as published by
11-
* the Free Software Foundation; either version 2 of the License, or
12-
* (at your option) any later version.
13-
*
14-
* This program is distributed in the hope that it will be useful,
15-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
* GNU General Public License for more details.
18-
*
19-
* You should have received a copy of the GNU General Public License
20-
* along with this program; if not, write to the Free Software
21-
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
229
*/
2310
#ifndef LIBISCSI_H
2411
#define LIBISCSI_H

‎include/scsi/libiscsi_tcp.h‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* iSCSI over TCP/IP Data-Path lib
34
*
45
* Copyright (C) 2008 Mike Christie
56
* Copyright (C) 2008 Red Hat, Inc. All rights reserved.
67
* maintained by open-iscsi@googlegroups.com
7-
*
8-
* This program is free software; you can redistribute it and/or modify
9-
* it under the terms of the GNU General Public License as published
10-
* by the Free Software Foundation; either version 2 of the License, or
11-
* (at your option) any later version.
12-
*
13-
* This program is distributed in the hope that it will be useful, but
14-
* WITHOUT ANY WARRANTY; without even the implied warranty of
15-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16-
* General Public License for more details.
17-
*
18-
* See the file COPYING included with this distribution for more details.
198
*/
209

2110
#ifndef LIBISCSI_TCP_H

‎include/scsi/scsi_bsg_iscsi.h‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,8 @@
1+
/* SPDX-License-Identifier: GPL-2.0+ */
12
/*
23
* iSCSI Transport BSG Interface
34
*
45
* Copyright (C) 2009 James Smart, Emulex Corporation
5-
*
6-
* This program is free software; you can redistribute it and/or modify
7-
* it under the terms of the GNU General Public License as published by
8-
* the Free Software Foundation; either version 2 of the License, or
9-
* (at your option) any later version.
10-
*
11-
* This program is distributed in the hope that it will be useful,
12-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14-
* GNU General Public License for more details.
15-
*
16-
* You should have received a copy of the GNU General Public License
17-
* along with this program; if not, write to the Free Software
18-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19-
*
206
*/
217

228
#ifndef SCSI_BSG_ISCSI_H

0 commit comments

Comments
 (0)