LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* switch core SCSI code to SPDX tags
@ 2019-05-01 16:13 Christoph Hellwig
  2019-05-01 16:13 ` [PATCH 01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information Christoph Hellwig
                   ` (23 more replies)
  0 siblings, 24 replies; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:13 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Hi all,

this series switches all SCSI midlayer, upper driver, transport class and
library files to have proper SPDX tags instead of no licensing information
or copy and pasted boilerplate code.

^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
@ 2019-05-01 16:13 ` Christoph Hellwig
  2019-05-02  5:58   ` Hannes Reinecke
  2019-05-01 16:13 ` [PATCH 02/24] scsi: switch the remaining scsi midlayer files to use SPDX tags Christoph Hellwig
                   ` (22 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:13 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Add the default kernel GPLv2 annotation to SCSI midlayer files missing
any licensing information.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/hosts.c        | 1 +
 drivers/scsi/scsi.c         | 1 +
 drivers/scsi/scsi_debugfs.h | 1 +
 drivers/scsi/scsi_error.c   | 1 +
 drivers/scsi/scsi_ioctl.c   | 1 +
 drivers/scsi/scsi_lib.c     | 1 +
 drivers/scsi/scsi_pm.c      | 1 +
 drivers/scsi/scsi_sysfs.c   | 1 +
 8 files changed, 8 insertions(+)

diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index eaf329db3973..96ed24841c33 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  hosts.c Copyright (C) 1992 Drew Eckhardt
  *          Copyright (C) 1993, 1994, 1995 Eric Youngdale
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 99a7b9f520ae..49821f138ae0 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  scsi.c Copyright (C) 1992 Drew Eckhardt
  *         Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale
diff --git a/drivers/scsi/scsi_debugfs.h b/drivers/scsi/scsi_debugfs.h
index 951b043e82d0..d125d1bd4184 100644
--- a/drivers/scsi/scsi_debugfs.h
+++ b/drivers/scsi/scsi_debugfs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 struct request;
 struct seq_file;
 
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index 8e9680572b9f..f490994374f6 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  scsi_error.c Copyright (C) 1997 Eric Youngdale
  *
diff --git a/drivers/scsi/scsi_ioctl.c b/drivers/scsi/scsi_ioctl.c
index 840d96fe81bc..00397205466b 100644
--- a/drivers/scsi/scsi_ioctl.c
+++ b/drivers/scsi/scsi_ioctl.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Changes:
  * Arnaldo Carvalho de Melo <acme@conectiva.com.br> 08/23/2000
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 6b2570a5642d..94de50745616 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 1999 Eric Youngdale
  * Copyright (C) 2014 Christoph Hellwig
diff --git a/drivers/scsi/scsi_pm.c b/drivers/scsi/scsi_pm.c
index 7639df91b110..3a5dfbb81622 100644
--- a/drivers/scsi/scsi_pm.c
+++ b/drivers/scsi/scsi_pm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *	scsi_pm.c	Copyright (C) 2010 Alan Stern
  *
diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index 3b119ca0cc0c..ff0aea7ac87f 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * scsi_sysfs.c
  *
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 02/24] scsi: switch the remaining scsi midlayer files to use SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
  2019-05-01 16:13 ` [PATCH 01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information Christoph Hellwig
@ 2019-05-01 16:13 ` Christoph Hellwig
  2019-05-02  5:59   ` Hannes Reinecke
  2019-05-01 16:13 ` [PATCH 03/24] scsi_netlink: remove duplicate GPL boilerplate text Christoph Hellwig
                   ` (21 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:13 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the GPLv2 SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_logging.c |  3 +--
 drivers/scsi/scsi_sysctl.c  |  2 +-
 drivers/scsi/scsi_trace.c   | 14 +-------------
 3 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/drivers/scsi/scsi_logging.c b/drivers/scsi/scsi_logging.c
index bd70339c1242..ca582218d72d 100644
--- a/drivers/scsi/scsi_logging.c
+++ b/drivers/scsi/scsi_logging.c
@@ -1,10 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * scsi_logging.c
  *
  * Copyright (C) 2014 SUSE Linux Products GmbH
  * Copyright (C) 2014 Hannes Reinecke <hare@suse.de>
- *
- * This file is released under the GPLv2
  */
 
 #include <linux/kernel.h>
diff --git a/drivers/scsi/scsi_sysctl.c b/drivers/scsi/scsi_sysctl.c
index 546f16299ef9..c74a965a51a7 100644
--- a/drivers/scsi/scsi_sysctl.c
+++ b/drivers/scsi/scsi_sysctl.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2003 Christoph Hellwig.
- *	Released under GPL v2.
  */
 
 #include <linux/errno.h>
diff --git a/drivers/scsi/scsi_trace.c b/drivers/scsi/scsi_trace.c
index 0ff083bbf5b1..6ae168fcc119 100644
--- a/drivers/scsi/scsi_trace.c
+++ b/drivers/scsi/scsi_trace.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2010 FUJITSU LIMITED
  * Copyright (C) 2010 Tomohiro Kusumi <kusumi.tomohiro@jp.fujitsu.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 #include <linux/kernel.h>
 #include <linux/trace_seq.h>
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 03/24] scsi_netlink: remove duplicate GPL boilerplate text
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
  2019-05-01 16:13 ` [PATCH 01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information Christoph Hellwig
  2019-05-01 16:13 ` [PATCH 02/24] scsi: switch the remaining scsi midlayer files to use SPDX tags Christoph Hellwig
@ 2019-05-01 16:13 ` Christoph Hellwig
  2019-05-02  5:59   ` Hannes Reinecke
  2019-05-01 16:13 ` [PATCH 04/24] scsi_transport.h: switch to SPDX tags Christoph Hellwig
                   ` (20 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:13 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

The SCSI netlink uapi header already has a proper SPDX tag, remove the
duplicate boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/uapi/scsi/scsi_netlink.h | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/include/uapi/scsi/scsi_netlink.h b/include/uapi/scsi/scsi_netlink.h
index 5ccc2333acab..5dd382054e45 100644
--- a/include/uapi/scsi/scsi_netlink.h
+++ b/include/uapi/scsi/scsi_netlink.h
@@ -4,21 +4,6 @@
  *    Used for the posting of outbound SCSI transport events
  *
  *  Copyright (C) 2006   James Smart, Emulex Corporation
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
  */
 #ifndef SCSI_NETLINK_H
 #define SCSI_NETLINK_H
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 04/24] scsi_transport.h: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (2 preceding siblings ...)
  2019-05-01 16:13 ` [PATCH 03/24] scsi_netlink: remove duplicate GPL boilerplate text Christoph Hellwig
@ 2019-05-01 16:13 ` Christoph Hellwig
  2019-05-02  5:59   ` Hannes Reinecke
  2019-05-01 16:13 ` [PATCH 05/24] scsi_transport_fc: remove duplicate GPL boilerplate text Christoph Hellwig
                   ` (19 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:13 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/scsi/scsi_transport.h | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h
index a3dcb1bfb362..a0643b9f6f13 100644
--- a/include/scsi/scsi_transport.h
+++ b/include/scsi/scsi_transport.h
@@ -1,21 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /* 
  *  Transport specific attributes.
  *
  *  Copyright (c) 2003 Silicon Graphics, Inc.  All rights reserved.
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 #ifndef SCSI_TRANSPORT_H
 #define SCSI_TRANSPORT_H
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 05/24] scsi_transport_fc: remove duplicate GPL boilerplate text
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (3 preceding siblings ...)
  2019-05-01 16:13 ` [PATCH 04/24] scsi_transport.h: switch to SPDX tags Christoph Hellwig
@ 2019-05-01 16:13 ` Christoph Hellwig
  2019-05-02  6:00   ` Hannes Reinecke
  2019-05-01 16:13 ` [PATCH 06/24] scsi_transport_fc: switch to SPDX tags Christoph Hellwig
                   ` (18 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:13 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

The FC transport class uapi headers already have proper SPDX tags,
remove the duplicate boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/uapi/scsi/scsi_bsg_fc.h     | 15 ---------------
 include/uapi/scsi/scsi_netlink_fc.h | 15 ---------------
 2 files changed, 30 deletions(-)

diff --git a/include/uapi/scsi/scsi_bsg_fc.h b/include/uapi/scsi/scsi_bsg_fc.h
index 62597d86beed..52f32a60d056 100644
--- a/include/uapi/scsi/scsi_bsg_fc.h
+++ b/include/uapi/scsi/scsi_bsg_fc.h
@@ -3,21 +3,6 @@
  *  FC Transport BSG Interface
  *
  *  Copyright (C) 2008   James Smart, Emulex Corporation
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
  */
 
 #ifndef SCSI_BSG_FC_H
diff --git a/include/uapi/scsi/scsi_netlink_fc.h b/include/uapi/scsi/scsi_netlink_fc.h
index 060f563c38a2..a39023579051 100644
--- a/include/uapi/scsi/scsi_netlink_fc.h
+++ b/include/uapi/scsi/scsi_netlink_fc.h
@@ -3,21 +3,6 @@
  *  FC Transport Netlink Interface
  *
  *  Copyright (C) 2006   James Smart, Emulex Corporation
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
  */
 #ifndef SCSI_NETLINK_FC_H
 #define SCSI_NETLINK_FC_H
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 06/24] scsi_transport_fc: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (4 preceding siblings ...)
  2019-05-01 16:13 ` [PATCH 05/24] scsi_transport_fc: remove duplicate GPL boilerplate text Christoph Hellwig
@ 2019-05-01 16:13 ` Christoph Hellwig
  2019-05-02  6:00   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 07/24] scsi_transport_iscsi: " Christoph Hellwig
                   ` (17 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:13 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_transport_fc.c | 18 +-----------------
 include/scsi/scsi_transport_fc.h | 18 +-----------------
 2 files changed, 2 insertions(+), 34 deletions(-)

diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c
index d9e3cf3721f6..8be503da7edb 100644
--- a/drivers/scsi/scsi_transport_fc.c
+++ b/drivers/scsi/scsi_transport_fc.c
@@ -1,24 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  FiberChannel transport specific attributes exported to sysfs.
  *
  *  Copyright (c) 2003 Silicon Graphics, Inc.  All rights reserved.
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- *  ========
- *
  *  Copyright (C) 2004-2007   James Smart, Emulex Corporation
  *    Rewrite for host, target, device, and remote port attributes,
  *    statistics, and service functions...
diff --git a/include/scsi/scsi_transport_fc.h b/include/scsi/scsi_transport_fc.h
index b375c3303fe2..b990091d5c20 100644
--- a/include/scsi/scsi_transport_fc.h
+++ b/include/scsi/scsi_transport_fc.h
@@ -1,24 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  *  FiberChannel transport specific attributes exported to sysfs.
  *
  *  Copyright (c) 2003 Silicon Graphics, Inc.  All rights reserved.
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- *  ========
- *
  *  Copyright (C) 2004-2007   James Smart, Emulex Corporation
  *    Rewrite for host, target, device, and remote port attributes,
  *    statistics, and service functions...
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 07/24] scsi_transport_iscsi: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (5 preceding siblings ...)
  2019-05-01 16:13 ` [PATCH 06/24] scsi_transport_fc: switch to SPDX tags Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:01   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 08/24] scsi_transport_sas: " Christoph Hellwig
                   ` (16 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_transport_iscsi.c | 15 +--------------
 include/scsi/scsi_transport_iscsi.h | 15 +--------------
 2 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index 0a82e93566dc..828b242e28b0 100644
--- a/drivers/scsi/scsi_transport_iscsi.c
+++ b/drivers/scsi/scsi_transport_iscsi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * iSCSI transport class definitions
  *
@@ -5,20 +6,6 @@
  * Copyright (C) Mike Christie, 2004 - 2005
  * Copyright (C) Dmitry Yusupov, 2004 - 2005
  * Copyright (C) Alex Aizman, 2004 - 2005
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #include <linux/module.h>
 #include <linux/mutex.h>
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index b266d2a3bcb1..98149e82926b 100644
--- a/include/scsi/scsi_transport_iscsi.h
+++ b/include/scsi/scsi_transport_iscsi.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * iSCSI transport class definitions
  *
@@ -5,20 +6,6 @@
  * Copyright (C) Mike Christie, 2004 - 2006
  * Copyright (C) Dmitry Yusupov, 2004 - 2005
  * Copyright (C) Alex Aizman, 2004 - 2005
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #ifndef SCSI_TRANSPORT_ISCSI_H
 #define SCSI_TRANSPORT_ISCSI_H
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 08/24] scsi_transport_sas: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (6 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 07/24] scsi_transport_iscsi: " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:01   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 09/24] scsi_transport_spi: " Christoph Hellwig
                   ` (15 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2 SPDX tag instead of a free form blurb.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_transport_sas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c
index 60f1a81d2034..fbfe01b06eb3 100644
--- a/drivers/scsi/scsi_transport_sas.c
+++ b/drivers/scsi/scsi_transport_sas.c
@@ -1,6 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright (C) 2005-2006 Dell Inc.
- *	Released under GPL v2.
  *
  * Serial Attached SCSI (SAS) transport class.
  *
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 09/24] scsi_transport_spi: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (7 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 08/24] scsi_transport_sas: " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:01   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 10/24] scsi_transport_srp: " Christoph Hellwig
                   ` (14 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_transport_spi.c | 15 +--------------
 include/scsi/scsi_transport_spi.h | 15 +--------------
 2 files changed, 2 insertions(+), 28 deletions(-)

diff --git a/drivers/scsi/scsi_transport_spi.c b/drivers/scsi/scsi_transport_spi.c
index 40b85b752b79..474d2ffad9d8 100644
--- a/drivers/scsi/scsi_transport_spi.c
+++ b/drivers/scsi/scsi_transport_spi.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
 /* 
  *  Parallel SCSI (SPI) transport specific attributes exported to sysfs.
  *
  *  Copyright (c) 2003 Silicon Graphics, Inc.  All rights reserved.
  *  Copyright (c) 2004, 2005 James Bottomley <James.Bottomley@SteelEye.com>
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 #include <linux/ctype.h>
 #include <linux/init.h>
diff --git a/include/scsi/scsi_transport_spi.h b/include/scsi/scsi_transport_spi.h
index a4fa52b4d5c5..12516d16933d 100644
--- a/include/scsi/scsi_transport_spi.h
+++ b/include/scsi/scsi_transport_spi.h
@@ -1,21 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /* 
  *  Parallel SCSI (SPI) transport specific attributes exported to sysfs.
  *
  *  Copyright (c) 2003 Silicon Graphics, Inc.  All rights reserved.
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 #ifndef SCSI_TRANSPORT_SPI_H
 #define SCSI_TRANSPORT_SPI_H
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 10/24] scsi_transport_srp: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (8 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 09/24] scsi_transport_spi: " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:02   ` Hannes Reinecke
  2019-05-02 15:02   ` Bart Van Assche
  2019-05-01 16:14 ` [PATCH 11/24] libfc: remove duplicate GPL boilerplate text Christoph Hellwig
                   ` (13 subsequent siblings)
  23 siblings, 2 replies; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_transport_srp.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/drivers/scsi/scsi_transport_srp.c b/drivers/scsi/scsi_transport_srp.c
index 4e46fdb2d7c9..280d9029759a 100644
--- a/drivers/scsi/scsi_transport_srp.c
+++ b/drivers/scsi/scsi_transport_srp.c
@@ -1,22 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SCSI RDMA (SRP) transport class
  *
  * Copyright (C) 2007 FUJITA Tomonori <tomof@acm.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation, version 2 of the
- * License.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
  */
 #include <linux/init.h>
 #include <linux/module.h>
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 11/24] libfc: remove duplicate GPL boilerplate text
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (9 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 10/24] scsi_transport_srp: " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:02   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 12/24] libfc: switch to SPDX tags Christoph Hellwig
                   ` (12 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

The libfc uapi headers already have proper SPDX tags, remove the
duplicate boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/uapi/scsi/fc/fc_els.h | 13 -------------
 include/uapi/scsi/fc/fc_fs.h  | 13 -------------
 include/uapi/scsi/fc/fc_gs.h  | 13 -------------
 include/uapi/scsi/fc/fc_ns.h  | 13 -------------
 4 files changed, 52 deletions(-)

diff --git a/include/uapi/scsi/fc/fc_els.h b/include/uapi/scsi/fc/fc_els.h
index a81c53508cc6..76f627f0d13b 100644
--- a/include/uapi/scsi/fc/fc_els.h
+++ b/include/uapi/scsi/fc/fc_els.h
@@ -2,19 +2,6 @@
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/uapi/scsi/fc/fc_fs.h b/include/uapi/scsi/fc/fc_fs.h
index 8c0a292a61ed..0dab49dbb2f7 100644
--- a/include/uapi/scsi/fc/fc_fs.h
+++ b/include/uapi/scsi/fc/fc_fs.h
@@ -2,19 +2,6 @@
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/uapi/scsi/fc/fc_gs.h b/include/uapi/scsi/fc/fc_gs.h
index 2153f3524555..effb4c662fe5 100644
--- a/include/uapi/scsi/fc/fc_gs.h
+++ b/include/uapi/scsi/fc/fc_gs.h
@@ -2,19 +2,6 @@
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/uapi/scsi/fc/fc_ns.h b/include/uapi/scsi/fc/fc_ns.h
index 015e5e1ce8f1..4cf0a40a099a 100644
--- a/include/uapi/scsi/fc/fc_ns.h
+++ b/include/uapi/scsi/fc/fc_ns.h
@@ -2,19 +2,6 @@
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 12/24] libfc: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (10 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 11/24] libfc: remove duplicate GPL boilerplate text Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:03   ` Hannes Reinecke
  2019-05-14  1:15   ` Martin K. Petersen
  2019-05-01 16:14 ` [PATCH 13/24] libfcoe: " Christoph Hellwig
                   ` (11 subsequent siblings)
  23 siblings, 2 replies; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/libfc/fc_disc.c  | 14 +-------------
 drivers/scsi/libfc/fc_elsct.c | 14 +-------------
 drivers/scsi/libfc/fc_exch.c  | 14 +-------------
 drivers/scsi/libfc/fc_fcp.c   | 14 +-------------
 drivers/scsi/libfc/fc_frame.c | 14 +-------------
 drivers/scsi/libfc/fc_libfc.c | 14 +-------------
 drivers/scsi/libfc/fc_libfc.h | 14 +-------------
 drivers/scsi/libfc/fc_lport.c | 14 +-------------
 drivers/scsi/libfc/fc_npiv.c  | 14 +-------------
 drivers/scsi/libfc/fc_rport.c | 14 +-------------
 include/scsi/fc/fc_encaps.h   | 14 +-------------
 include/scsi/fc/fc_fc2.h      | 14 +-------------
 include/scsi/fc/fc_fcoe.h     | 14 +-------------
 include/scsi/fc/fc_fcp.h      | 14 +-------------
 include/scsi/fc/fc_fip.h      | 14 +-------------
 include/scsi/fc/fc_ms.h       | 17 +++--------------
 include/scsi/libfc.h          | 14 +-------------
 17 files changed, 19 insertions(+), 222 deletions(-)

diff --git a/drivers/scsi/libfc/fc_disc.c b/drivers/scsi/libfc/fc_disc.c
index f969a71348ef..4b00477e51e7 100644
--- a/drivers/scsi/libfc/fc_disc.c
+++ b/drivers/scsi/libfc/fc_disc.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2007 - 2008 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_elsct.c b/drivers/scsi/libfc/fc_elsct.c
index 6384a98048af..8e033facded7 100644
--- a/drivers/scsi/libfc/fc_elsct.c
+++ b/drivers/scsi/libfc/fc_elsct.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2008 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c
index 42bcf7f3a0f9..025cd2ff9f65 100644
--- a/drivers/scsi/libfc/fc_exch.c
+++ b/drivers/scsi/libfc/fc_exch.c
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  * Copyright(c) 2008 Red Hat, Inc.  All rights reserved.
  * Copyright(c) 2008 Mike Christie
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c
index b1bd283be51c..0e619e7481db 100644
--- a/drivers/scsi/libfc/fc_fcp.c
+++ b/drivers/scsi/libfc/fc_fcp.c
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  * Copyright(c) 2008 Red Hat, Inc.  All rights reserved.
  * Copyright(c) 2008 Mike Christie
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_frame.c b/drivers/scsi/libfc/fc_frame.c
index 0382ac06906e..56c390a365b7 100644
--- a/drivers/scsi/libfc/fc_frame.c
+++ b/drivers/scsi/libfc/fc_frame.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_libfc.c b/drivers/scsi/libfc/fc_libfc.c
index dbadbc81b24b..9a6927d17941 100644
--- a/drivers/scsi/libfc/fc_libfc.c
+++ b/drivers/scsi/libfc/fc_libfc.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2009 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_libfc.h b/drivers/scsi/libfc/fc_libfc.h
index b74189d89322..01269b66e625 100644
--- a/drivers/scsi/libfc/fc_libfc.h
+++ b/drivers/scsi/libfc/fc_libfc.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2009 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c
index ff943f477d6f..1db7ef904ab7 100644
--- a/drivers/scsi/libfc/fc_lport.c
+++ b/drivers/scsi/libfc/fc_lport.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_npiv.c b/drivers/scsi/libfc/fc_npiv.c
index c168321b560e..fa1d585b9041 100644
--- a/drivers/scsi/libfc/fc_npiv.c
+++ b/drivers/scsi/libfc/fc_npiv.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2009 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c
index dfba4921b265..48273b5ee16d 100644
--- a/drivers/scsi/libfc/fc_rport.c
+++ b/drivers/scsi/libfc/fc_rport.c
@@ -1,19 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Copyright(c) 2007 - 2008 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/scsi/fc/fc_encaps.h b/include/scsi/fc/fc_encaps.h
index f180c3e16220..a7bded5e1fe5 100644
--- a/include/scsi/fc/fc_encaps.h
+++ b/include/scsi/fc/fc_encaps.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 #ifndef _FC_ENCAPS_H_
diff --git a/include/scsi/fc/fc_fc2.h b/include/scsi/fc/fc_fc2.h
index 0b2671431305..fa95de50f7dc 100644
--- a/include/scsi/fc/fc_fc2.h
+++ b/include/scsi/fc/fc_fc2.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/scsi/fc/fc_fcoe.h b/include/scsi/fc/fc_fcoe.h
index d5dcd6062815..e6c086c06777 100644
--- a/include/scsi/fc/fc_fcoe.h
+++ b/include/scsi/fc/fc_fcoe.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/scsi/fc/fc_fcp.h b/include/scsi/fc/fc_fcp.h
index 9c8702942b61..35b07e83b9bd 100644
--- a/include/scsi/fc/fc_fcp.h
+++ b/include/scsi/fc/fc_fcp.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/scsi/fc/fc_fip.h b/include/scsi/fc/fc_fip.h
index 9710254fd98c..e0a3423ba09e 100644
--- a/include/scsi/fc/fc_fip.h
+++ b/include/scsi/fc/fc_fip.h
@@ -1,18 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright 2008 Cisco Systems, Inc.  All rights reserved.
- *
- * This program is free software; you may redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
  */
 #ifndef _FC_FIP_H_
 #define _FC_FIP_H_
diff --git a/include/scsi/fc/fc_ms.h b/include/scsi/fc/fc_ms.h
index f52b921b5c70..78c82e437bb2 100644
--- a/include/scsi/fc/fc_ms.h
+++ b/include/scsi/fc/fc_ms.h
@@ -1,17 +1,6 @@
-/* * Copyright(c) 2011 Intel Corporation. All rights reserved.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright(c) 2011 Intel Corporation. All rights reserved.
  *
  * Maintained at www.Open-FCoE.org
  */
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index 2109844be53d..76cb9192319a 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2007 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 13/24] libfcoe: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (11 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 12/24] libfc: switch to SPDX tags Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:03   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 14/24] libiscsi: " Christoph Hellwig
                   ` (10 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/fcoe/fcoe.c           | 14 +-------------
 drivers/scsi/fcoe/fcoe.h           | 14 +-------------
 drivers/scsi/fcoe/fcoe_ctlr.c      | 14 +-------------
 drivers/scsi/fcoe/fcoe_sysfs.c     | 14 +-------------
 drivers/scsi/fcoe/fcoe_transport.c | 14 +-------------
 include/scsi/libfcoe.h             | 14 +-------------
 6 files changed, 6 insertions(+), 78 deletions(-)

diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c
index 8ba8862d3292..4ee69560cc8c 100644
--- a/drivers/scsi/fcoe/fcoe.c
+++ b/drivers/scsi/fcoe/fcoe.c
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2007 - 2009 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/fcoe/fcoe.h b/drivers/scsi/fcoe/fcoe.h
index 6aa4820f6cc0..15ee5a83ec04 100644
--- a/drivers/scsi/fcoe/fcoe.h
+++ b/drivers/scsi/fcoe/fcoe.h
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2009 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c
index 7dc4ffa24430..d2d17ed113ed 100644
--- a/drivers/scsi/fcoe/fcoe_ctlr.c
+++ b/drivers/scsi/fcoe/fcoe_ctlr.c
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2008-2009 Cisco Systems, Inc.  All rights reserved.
  * Copyright (c) 2009 Intel Corporation.  All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/fcoe/fcoe_sysfs.c b/drivers/scsi/fcoe/fcoe_sysfs.c
index c3dcbdc3aa64..b6a3bbe9ee2b 100644
--- a/drivers/scsi/fcoe/fcoe_sysfs.c
+++ b/drivers/scsi/fcoe/fcoe_sysfs.c
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2011 - 2012 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c
index 29fe3426f9f2..0d5363ee8ecb 100644
--- a/drivers/scsi/fcoe/fcoe_transport.c
+++ b/drivers/scsi/fcoe/fcoe_transport.c
@@ -1,19 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
diff --git a/include/scsi/libfcoe.h b/include/scsi/libfcoe.h
index bb8092fa1e36..ecf3e5978166 100644
--- a/include/scsi/libfcoe.h
+++ b/include/scsi/libfcoe.h
@@ -1,20 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Copyright (c) 2008-2009 Cisco Systems, Inc.  All rights reserved.
  * Copyright (c) 2007-2008 Intel Corporation.  All rights reserved.
  *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
- *
  * Maintained at www.Open-FCoE.org
  */
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 14/24] libiscsi: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (12 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 13/24] libfcoe: " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:03   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 15/24] libsas: add a SPDX tag to sas_task.c Christoph Hellwig
                   ` (9 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/libiscsi.c       | 15 +--------------
 drivers/scsi/libiscsi_tcp.c   | 13 +------------
 include/scsi/iscsi_if.h       | 13 +------------
 include/scsi/iscsi_proto.h    | 13 +------------
 include/scsi/libiscsi.h       | 15 +--------------
 include/scsi/libiscsi_tcp.h   | 13 +------------
 include/scsi/scsi_bsg_iscsi.h | 16 +---------------
 7 files changed, 7 insertions(+), 91 deletions(-)

diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c
index e893949a3d11..040b58a3d7d3 100644
--- a/drivers/scsi/libiscsi.c
+++ b/drivers/scsi/libiscsi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * iSCSI lib functions
  *
@@ -6,20 +7,6 @@
  * Copyright (C) 2004 - 2005 Dmitry Yusupov
  * Copyright (C) 2004 - 2005 Alex Aizman
  * maintained by open-iscsi@googlegroups.com
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #include <linux/types.h>
 #include <linux/kfifo.h>
diff --git a/drivers/scsi/libiscsi_tcp.c b/drivers/scsi/libiscsi_tcp.c
index c3fe3f3a78f5..e0255bb2748f 100644
--- a/drivers/scsi/libiscsi_tcp.c
+++ b/drivers/scsi/libiscsi_tcp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * iSCSI over TCP/IP Data-Path lib
  *
@@ -7,18 +8,6 @@
  * Copyright (C) 2006 Red Hat, Inc.  All rights reserved.
  * maintained by open-iscsi@googlegroups.com
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * See the file COPYING included with this distribution for more details.
- *
  * Credits:
  *	Christoph Hellwig
  *	FUJITA Tomonori
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h
index d66c07077d68..5b8af179b7ac 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -1,21 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * iSCSI User/Kernel Shares (Defines, Constants, Protocol definitions, etc)
  *
  * Copyright (C) 2005 Dmitry Yusupov
  * Copyright (C) 2005 Alex Aizman
  * maintained by open-iscsi@googlegroups.com
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * See the file COPYING included with this distribution for more details.
  */
 
 #ifndef ISCSI_IF_H
diff --git a/include/scsi/iscsi_proto.h b/include/scsi/iscsi_proto.h
index df156f1d50b2..3e930ab9b859 100644
--- a/include/scsi/iscsi_proto.h
+++ b/include/scsi/iscsi_proto.h
@@ -1,21 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * RFC 3720 (iSCSI) protocol data types
  *
  * Copyright (C) 2005 Dmitry Yusupov
  * Copyright (C) 2005 Alex Aizman
  * maintained by open-iscsi@googlegroups.com
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * See the file COPYING included with this distribution for more details.
  */
 
 #ifndef ISCSI_PROTO_H
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index c9bd935f4fd1..7992f6bb2ebc 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * iSCSI lib definitions
  *
@@ -5,20 +6,6 @@
  * Copyright (C) 2004 - 2006 Mike Christie
  * Copyright (C) 2004 - 2005 Dmitry Yusupov
  * Copyright (C) 2004 - 2005 Alex Aizman
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #ifndef LIBISCSI_H
 #define LIBISCSI_H
diff --git a/include/scsi/libiscsi_tcp.h b/include/scsi/libiscsi_tcp.h
index 30520d5ee3d1..b7ce80422215 100644
--- a/include/scsi/libiscsi_tcp.h
+++ b/include/scsi/libiscsi_tcp.h
@@ -1,21 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * iSCSI over TCP/IP Data-Path lib
  *
  * Copyright (C) 2008 Mike Christie
  * Copyright (C) 2008 Red Hat, Inc.  All rights reserved.
  * maintained by open-iscsi@googlegroups.com
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * See the file COPYING included with this distribution for more details.
  */
 
 #ifndef LIBISCSI_TCP_H
diff --git a/include/scsi/scsi_bsg_iscsi.h b/include/scsi/scsi_bsg_iscsi.h
index fd5689d4c052..aa76c1e5b36f 100644
--- a/include/scsi/scsi_bsg_iscsi.h
+++ b/include/scsi/scsi_bsg_iscsi.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  *  iSCSI Transport BSG Interface
  *
  *  Copyright (C) 2009   James Smart, Emulex Corporation
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
  */
 
 #ifndef SCSI_BSG_ISCSI_H
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 15/24] libsas: add a SPDX tag to sas_task.c
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (13 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 14/24] libiscsi: " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:04   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 16/24] libsas: switch sas_ata.[ch] to SPDX tags Christoph Hellwig
                   ` (8 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

sas_task.c is the only libsas file missing licensing information.  Add a
GPLv2 tag for the default kernel license.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/libsas/sas_task.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/libsas/sas_task.c b/drivers/scsi/libsas/sas_task.c
index c3b9befad4e6..a46e8e4c0684 100644
--- a/drivers/scsi/libsas/sas_task.c
+++ b/drivers/scsi/libsas/sas_task.c
@@ -1,4 +1,4 @@
-
+// SPDX-License-Identifier: GPL-2.0
 #include "sas_internal.h"
 
 #include <linux/kernel.h>
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 16/24] libsas: switch sas_ata.[ch] to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (14 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 15/24] libsas: add a SPDX tag to sas_task.c Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:04   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 17/24] libsas: switch remaining files " Christoph Hellwig
                   ` (7 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/libsas/sas_ata.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c
index 1ecca71df8b5..d9131746737e 100644
--- a/drivers/scsi/libsas/sas_ata.c
+++ b/drivers/scsi/libsas/sas_ata.c
@@ -1,24 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Support for SATA devices on Serial Attached SCSI (SAS) controllers
  *
  * Copyright (C) 2006 IBM Corporation
  *
  * Written by: Darrick J. Wong <djwong@us.ibm.com>, IBM Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
  */
 
 #include <linux/scatterlist.h>
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 17/24] libsas: switch remaining files to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (15 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 16/24] libsas: switch sas_ata.[ch] to SPDX tags Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:04   ` Hannes Reinecke
  2019-05-05 21:20   ` John Garry
  2019-05-01 16:14 ` [PATCH 18/24] sd: add a SPDX tag to sd.c Christoph Hellwig
                   ` (6 subsequent siblings)
  23 siblings, 2 replies; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/libsas/sas_discover.c  | 18 +-----------------
 drivers/scsi/libsas/sas_event.c     | 18 +-----------------
 drivers/scsi/libsas/sas_expander.c  | 16 +---------------
 drivers/scsi/libsas/sas_host_smp.c  |  5 +----
 drivers/scsi/libsas/sas_init.c      | 19 +------------------
 drivers/scsi/libsas/sas_internal.h  | 19 +------------------
 drivers/scsi/libsas/sas_phy.c       | 18 +-----------------
 drivers/scsi/libsas/sas_port.c      | 18 +-----------------
 drivers/scsi/libsas/sas_scsi_host.c | 19 +------------------
 include/scsi/libsas.h               | 19 +------------------
 include/scsi/sas.h                  | 19 +------------------
 include/scsi/sas_ata.h              | 17 +----------------
 12 files changed, 12 insertions(+), 193 deletions(-)

diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
index 726ada9b8c79..2518cecb7edf 100644
--- a/drivers/scsi/libsas/sas_discover.c
+++ b/drivers/scsi/libsas/sas_discover.c
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) Discover process
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/scatterlist.h>
diff --git a/drivers/scsi/libsas/sas_event.c b/drivers/scsi/libsas/sas_event.c
index b1e0f7d2b396..a1852f6c042b 100644
--- a/drivers/scsi/libsas/sas_event.c
+++ b/drivers/scsi/libsas/sas_event.c
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) Event processing
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/export.h>
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index 83f2fd70ce76..76ea83ddafa7 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/drivers/scsi/libsas/sas_expander.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) Expander discovery and configuration
  *
@@ -5,21 +6,6 @@
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
  *
  * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include <linux/scatterlist.h>
diff --git a/drivers/scsi/libsas/sas_host_smp.c b/drivers/scsi/libsas/sas_host_smp.c
index 9ead93df3a6e..55dcc9c934b2 100644
--- a/drivers/scsi/libsas/sas_host_smp.c
+++ b/drivers/scsi/libsas/sas_host_smp.c
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) Expander discovery and configuration
  *
  * Copyright (C) 2007 James E.J. Bottomley
  *		<James.Bottomley@HansenPartnership.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; version 2 only.
  */
 #include <linux/scatterlist.h>
 #include <linux/blkdev.h>
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c
index 28a460c36c0b..8f2608995726 100644
--- a/drivers/scsi/libsas/sas_init.c
+++ b/drivers/scsi/libsas/sas_init.c
@@ -1,26 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) Transport Layer initialization
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- *
  */
 
 #include <linux/module.h>
diff --git a/drivers/scsi/libsas/sas_internal.h b/drivers/scsi/libsas/sas_internal.h
index 2cdb981cf476..1bc248a1b4ea 100644
--- a/drivers/scsi/libsas/sas_internal.h
+++ b/drivers/scsi/libsas/sas_internal.h
@@ -1,26 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * Serial Attached SCSI (SAS) class internal header file
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- *
  */
 
 #ifndef _SAS_INTERNAL_H_
diff --git a/drivers/scsi/libsas/sas_phy.c b/drivers/scsi/libsas/sas_phy.c
index e030e1452136..2455199e5ffc 100644
--- a/drivers/scsi/libsas/sas_phy.c
+++ b/drivers/scsi/libsas/sas_phy.c
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) Phy class
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include "sas_internal.h"
diff --git a/drivers/scsi/libsas/sas_port.c b/drivers/scsi/libsas/sas_port.c
index 38a10478605c..11f028a441dd 100644
--- a/drivers/scsi/libsas/sas_port.c
+++ b/drivers/scsi/libsas/sas_port.c
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) Port class
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- *
  */
 
 #include "sas_internal.h"
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index b775445892af..602bd1a17a63 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -1,26 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Serial Attached SCSI (SAS) class SCSI Host glue.
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- *
  */
 
 #include <linux/kthread.h>
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index b08febec7895..901355a1bc53 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -1,26 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * SAS host prototypes and structures header file
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- *
  */
 
 #ifndef _LIBSAS_H_
diff --git a/include/scsi/sas.h b/include/scsi/sas.h
index 42a84ef42683..ded4d6b7a377 100644
--- a/include/scsi/sas.h
+++ b/include/scsi/sas.h
@@ -1,26 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
 /*
  * SAS structures and definitions header file
  *
  * Copyright (C) 2005 Adaptec, Inc.  All rights reserved.
  * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
- *
- * This file is licensed under GPLv2.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- *
  */
 
 #ifndef _SAS_H_
diff --git a/include/scsi/sas_ata.h b/include/scsi/sas_ata.h
index 00f41aeeecf5..9f5ce0a3e63e 100644
--- a/include/scsi/sas_ata.h
+++ b/include/scsi/sas_ata.h
@@ -1,25 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Support for SATA devices on Serial Attached SCSI (SAS) controllers
  *
  * Copyright (C) 2006 IBM Corporation
  *
  * Written by: Darrick J. Wong <djwong@us.ibm.com>, IBM Corporation
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
- * USA
- *
  */
 
 #ifndef _SAS_ATA_H_
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 18/24] sd: add a SPDX tag to sd.c
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (16 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 17/24] libsas: switch remaining files " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:05   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 19/24] sd: switch remaining files to SPDX tags Christoph Hellwig
                   ` (5 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

sd.c is the only sd file missing licensing information.  Add a
GPLv2 tag for the default kernel license.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/sd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 2b2bc4b49d78..4852c2223359 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *      sd.c Copyright (C) 1992 Drew Eckhardt
  *           Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 19/24] sd: switch remaining files to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (17 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 18/24] sd: add a SPDX tag to sd.c Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:05   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 20/24] ses: switch " Christoph Hellwig
                   ` (4 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/sd_dif.c | 16 +---------------
 drivers/scsi/sd_zbc.c | 16 +---------------
 2 files changed, 2 insertions(+), 30 deletions(-)

diff --git a/drivers/scsi/sd_dif.c b/drivers/scsi/sd_dif.c
index db72c82486e3..93ac1e4cab73 100644
--- a/drivers/scsi/sd_dif.c
+++ b/drivers/scsi/sd_dif.c
@@ -1,23 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * sd_dif.c - SCSI Data Integrity Field
  *
  * Copyright (C) 2007, 2008 Oracle Corporation
  * Written by: Martin K. Petersen <martin.petersen@oracle.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version
- * 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING.  If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139,
- * USA.
- *
  */
 
 #include <linux/blkdev.h>
diff --git a/drivers/scsi/sd_zbc.c b/drivers/scsi/sd_zbc.c
index a340af797a85..d5e83cfa4d74 100644
--- a/drivers/scsi/sd_zbc.c
+++ b/drivers/scsi/sd_zbc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SCSI Zoned Block commands
  *
@@ -5,21 +6,6 @@
  * Written by: Hannes Reinecke <hare@suse.de>
  * Modified by: Damien Le Moal <damien.lemoal@hgst.com>
  * Modified by: Shaun Tancheff <shaun.tancheff@seagate.com>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License version
- * 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING.  If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139,
- * USA.
- *
  */
 
 #include <linux/blkdev.h>
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 20/24] ses: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (18 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 19/24] sd: switch remaining files to SPDX tags Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:05   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 21/24] sg: " Christoph Hellwig
                   ` (3 subsequent siblings)
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/ses.c | 20 ++------------------
 1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c
index 0fc39224ce1e..8afea5a1d3f0 100644
--- a/drivers/scsi/ses.c
+++ b/drivers/scsi/ses.c
@@ -1,25 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * SCSI Enclosure Services
  *
  * Copyright (C) 2008 James Bottomley <James.Bottomley@HansenPartnership.com>
- *
-**-----------------------------------------------------------------------------
-**
-**  This program is free software; you can redistribute it and/or
-**  modify it under the terms of the GNU General Public License
-**  version 2 as published by the Free Software Foundation.
-**
-**  This program is distributed in the hope that it will be useful,
-**  but WITHOUT ANY WARRANTY; without even the implied warranty of
-**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-**  GNU General Public License for more details.
-**
-**  You should have received a copy of the GNU General Public License
-**  along with this program; if not, write to the Free Software
-**  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-**
-**-----------------------------------------------------------------------------
-*/
+ */
 
 #include <linux/slab.h>
 #include <linux/module.h>
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 21/24] sg: switch to SPDX tags
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (19 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 20/24] ses: switch " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:05   ` Hannes Reinecke
                     ` (2 more replies)
  2019-05-01 16:14 ` [PATCH 22/24] sr: add a SPDX tag to sr.c Christoph Hellwig
                   ` (2 subsequent siblings)
  23 siblings, 3 replies; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/sg.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index d3f15319b9b3..bcdc28e5ede7 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  *  History:
  *  Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
@@ -8,12 +9,6 @@
  *        Copyright (C) 1992 Lawrence Foard
  * Version 2 and 3 extensions to driver:
  *        Copyright (C) 1998 - 2014 Douglas Gilbert
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
  */
 
 static int sg_version_num = 30536;	/* 2 digits for each component */
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 22/24] sr: add a SPDX tag to sr.c
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (20 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 21/24] sg: " Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:06   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 23/24] st: add a SPDX tag to st.c Christoph Hellwig
  2019-05-01 16:14 ` [PATCH 24/24] osst: add a SPDX tag to osst.c Christoph Hellwig
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

sr.c is the only sr file missing licensing information.  Add a
GPLv2 tag for the default kernel license.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/sr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
index 039c27c2d7b3..701d1e68d86e 100644
--- a/drivers/scsi/sr.c
+++ b/drivers/scsi/sr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  *  sr.c Copyright (C) 1992 David Giller
  *           Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 23/24] st: add a SPDX tag to st.c
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (21 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 22/24] sr: add a SPDX tag to sr.c Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:06   ` Hannes Reinecke
  2019-05-01 16:14 ` [PATCH 24/24] osst: add a SPDX tag to osst.c Christoph Hellwig
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

st.c is the only st file missing licensing information.  Add a
GPLv2 tag for the default kernel license.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/st.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
index 19c022e66d63..b814906af0a3 100644
--- a/drivers/scsi/st.c
+++ b/drivers/scsi/st.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
    SCSI Tape Driver for Linux version 1.1 and newer. See the accompanying
    file Documentation/scsi/st.txt for more information.
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* [PATCH 24/24] osst: add a SPDX tag to osst.c
  2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
                   ` (22 preceding siblings ...)
  2019-05-01 16:14 ` [PATCH 23/24] st: add a SPDX tag to st.c Christoph Hellwig
@ 2019-05-01 16:14 ` Christoph Hellwig
  2019-05-02  6:06   ` Hannes Reinecke
  23 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-01 16:14 UTC (permalink / raw)
  To: James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel, Chriosstoph Hellwig

osst.c is the only osst file missing licensing information.  Add a
GPLv2 tag for the default kernel license.

Signed-off-by: Chriosstoph Hellwig <hch@losst.de>
---
 drivers/scsi/osst.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c
index be3c73ebbfde..fe4f0e7d6359 100644
--- a/drivers/scsi/osst.c
+++ b/drivers/scsi/osst.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
   SCSI Tape Driver for Linux version 1.1 and newer. See the accompanying
   file Documentation/scsi/st.txt for more information.
-- 
2.20.1


^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information
  2019-05-01 16:13 ` [PATCH 01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information Christoph Hellwig
@ 2019-05-02  5:58   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  5:58 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:13 PM, Christoph Hellwig wrote:
> Add the default kernel GPLv2 annotation to SCSI midlayer files missing
> any licensing information.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/hosts.c        | 1 +
>   drivers/scsi/scsi.c         | 1 +
>   drivers/scsi/scsi_debugfs.h | 1 +
>   drivers/scsi/scsi_error.c   | 1 +
>   drivers/scsi/scsi_ioctl.c   | 1 +
>   drivers/scsi/scsi_lib.c     | 1 +
>   drivers/scsi/scsi_pm.c      | 1 +
>   drivers/scsi/scsi_sysfs.c   | 1 +
>   8 files changed, 8 insertions(+)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 02/24] scsi: switch the remaining scsi midlayer files to use SPDX tags
  2019-05-01 16:13 ` [PATCH 02/24] scsi: switch the remaining scsi midlayer files to use SPDX tags Christoph Hellwig
@ 2019-05-02  5:59   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  5:59 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:13 PM, Christoph Hellwig wrote:
> Use the GPLv2 SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/scsi_logging.c |  3 +--
>   drivers/scsi/scsi_sysctl.c  |  2 +-
>   drivers/scsi/scsi_trace.c   | 14 +-------------
>   3 files changed, 3 insertions(+), 16 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 03/24] scsi_netlink: remove duplicate GPL boilerplate text
  2019-05-01 16:13 ` [PATCH 03/24] scsi_netlink: remove duplicate GPL boilerplate text Christoph Hellwig
@ 2019-05-02  5:59   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  5:59 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:13 PM, Christoph Hellwig wrote:
> The SCSI netlink uapi header already has a proper SPDX tag, remove the
> duplicate boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   include/uapi/scsi/scsi_netlink.h | 15 ---------------
>   1 file changed, 15 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 04/24] scsi_transport.h: switch to SPDX tags
  2019-05-01 16:13 ` [PATCH 04/24] scsi_transport.h: switch to SPDX tags Christoph Hellwig
@ 2019-05-02  5:59   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  5:59 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:13 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   include/scsi/scsi_transport.h | 15 +--------------
>   1 file changed, 1 insertion(+), 14 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 05/24] scsi_transport_fc: remove duplicate GPL boilerplate text
  2019-05-01 16:13 ` [PATCH 05/24] scsi_transport_fc: remove duplicate GPL boilerplate text Christoph Hellwig
@ 2019-05-02  6:00   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:00 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:13 PM, Christoph Hellwig wrote:
> The FC transport class uapi headers already have proper SPDX tags,
> remove the duplicate boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   include/uapi/scsi/scsi_bsg_fc.h     | 15 ---------------
>   include/uapi/scsi/scsi_netlink_fc.h | 15 ---------------
>   2 files changed, 30 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 06/24] scsi_transport_fc: switch to SPDX tags
  2019-05-01 16:13 ` [PATCH 06/24] scsi_transport_fc: switch to SPDX tags Christoph Hellwig
@ 2019-05-02  6:00   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:00 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:13 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/scsi_transport_fc.c | 18 +-----------------
>   include/scsi/scsi_transport_fc.h | 18 +-----------------
>   2 files changed, 2 insertions(+), 34 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 07/24] scsi_transport_iscsi: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 07/24] scsi_transport_iscsi: " Christoph Hellwig
@ 2019-05-02  6:01   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:01 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/scsi_transport_iscsi.c | 15 +--------------
>   include/scsi/scsi_transport_iscsi.h | 15 +--------------
>   2 files changed, 2 insertions(+), 28 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 08/24] scsi_transport_sas: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 08/24] scsi_transport_sas: " Christoph Hellwig
@ 2019-05-02  6:01   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:01 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of a free form blurb.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/scsi_transport_sas.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 09/24] scsi_transport_spi: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 09/24] scsi_transport_spi: " Christoph Hellwig
@ 2019-05-02  6:01   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:01 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/scsi_transport_spi.c | 15 +--------------
>   include/scsi/scsi_transport_spi.h | 15 +--------------
>   2 files changed, 2 insertions(+), 28 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 10/24] scsi_transport_srp: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 10/24] scsi_transport_srp: " Christoph Hellwig
@ 2019-05-02  6:02   ` Hannes Reinecke
  2019-05-02 15:02   ` Bart Van Assche
  1 sibling, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:02 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/scsi_transport_srp.c | 16 +---------------
>   1 file changed, 1 insertion(+), 15 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 11/24] libfc: remove duplicate GPL boilerplate text
  2019-05-01 16:14 ` [PATCH 11/24] libfc: remove duplicate GPL boilerplate text Christoph Hellwig
@ 2019-05-02  6:02   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:02 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> The libfc uapi headers already have proper SPDX tags, remove the
> duplicate boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   include/uapi/scsi/fc/fc_els.h | 13 -------------
>   include/uapi/scsi/fc/fc_fs.h  | 13 -------------
>   include/uapi/scsi/fc/fc_gs.h  | 13 -------------
>   include/uapi/scsi/fc/fc_ns.h  | 13 -------------
>   4 files changed, 52 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 12/24] libfc: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 12/24] libfc: switch to SPDX tags Christoph Hellwig
@ 2019-05-02  6:03   ` Hannes Reinecke
  2019-05-14  1:15   ` Martin K. Petersen
  1 sibling, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:03 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/libfc/fc_disc.c  | 14 +-------------
>   drivers/scsi/libfc/fc_elsct.c | 14 +-------------
>   drivers/scsi/libfc/fc_exch.c  | 14 +-------------
>   drivers/scsi/libfc/fc_fcp.c   | 14 +-------------
>   drivers/scsi/libfc/fc_frame.c | 14 +-------------
>   drivers/scsi/libfc/fc_libfc.c | 14 +-------------
>   drivers/scsi/libfc/fc_libfc.h | 14 +-------------
>   drivers/scsi/libfc/fc_lport.c | 14 +-------------
>   drivers/scsi/libfc/fc_npiv.c  | 14 +-------------
>   drivers/scsi/libfc/fc_rport.c | 14 +-------------
>   include/scsi/fc/fc_encaps.h   | 14 +-------------
>   include/scsi/fc/fc_fc2.h      | 14 +-------------
>   include/scsi/fc/fc_fcoe.h     | 14 +-------------
>   include/scsi/fc/fc_fcp.h      | 14 +-------------
>   include/scsi/fc/fc_fip.h      | 14 +-------------
>   include/scsi/fc/fc_ms.h       | 17 +++--------------
>   include/scsi/libfc.h          | 14 +-------------
>   17 files changed, 19 insertions(+), 222 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 13/24] libfcoe: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 13/24] libfcoe: " Christoph Hellwig
@ 2019-05-02  6:03   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:03 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/fcoe/fcoe.c           | 14 +-------------
>   drivers/scsi/fcoe/fcoe.h           | 14 +-------------
>   drivers/scsi/fcoe/fcoe_ctlr.c      | 14 +-------------
>   drivers/scsi/fcoe/fcoe_sysfs.c     | 14 +-------------
>   drivers/scsi/fcoe/fcoe_transport.c | 14 +-------------
>   include/scsi/libfcoe.h             | 14 +-------------
>   6 files changed, 6 insertions(+), 78 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 14/24] libiscsi: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 14/24] libiscsi: " Christoph Hellwig
@ 2019-05-02  6:03   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:03 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/libiscsi.c       | 15 +--------------
>   drivers/scsi/libiscsi_tcp.c   | 13 +------------
>   include/scsi/iscsi_if.h       | 13 +------------
>   include/scsi/iscsi_proto.h    | 13 +------------
>   include/scsi/libiscsi.h       | 15 +--------------
>   include/scsi/libiscsi_tcp.h   | 13 +------------
>   include/scsi/scsi_bsg_iscsi.h | 16 +---------------
>   7 files changed, 7 insertions(+), 91 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 15/24] libsas: add a SPDX tag to sas_task.c
  2019-05-01 16:14 ` [PATCH 15/24] libsas: add a SPDX tag to sas_task.c Christoph Hellwig
@ 2019-05-02  6:04   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:04 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> sas_task.c is the only libsas file missing licensing information.  Add a
> GPLv2 tag for the default kernel license.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/libsas/sas_task.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/scsi/libsas/sas_task.c b/drivers/scsi/libsas/sas_task.c
> index c3b9befad4e6..a46e8e4c0684 100644
> --- a/drivers/scsi/libsas/sas_task.c
> +++ b/drivers/scsi/libsas/sas_task.c
> @@ -1,4 +1,4 @@
> -
> +// SPDX-License-Identifier: GPL-2.0
>   #include "sas_internal.h"
>   
>   #include <linux/kernel.h>
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 16/24] libsas: switch sas_ata.[ch] to SPDX tags
  2019-05-01 16:14 ` [PATCH 16/24] libsas: switch sas_ata.[ch] to SPDX tags Christoph Hellwig
@ 2019-05-02  6:04   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:04 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/libsas/sas_ata.c | 16 +---------------
>   1 file changed, 1 insertion(+), 15 deletions(-)
> 
> diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c
> index 1ecca71df8b5..d9131746737e 100644
> --- a/drivers/scsi/libsas/sas_ata.c
> +++ b/drivers/scsi/libsas/sas_ata.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0+
>   /*
>    * Support for SATA devices on Serial Attached SCSI (SAS) controllers
>    *
>    * Copyright (C) 2006 IBM Corporation
>    *
>    * Written by: Darrick J. Wong <djwong@us.ibm.com>, IBM Corporation
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
> - * USA
>    */
>   
>   #include <linux/scatterlist.h>
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 17/24] libsas: switch remaining files to SPDX tags
  2019-05-01 16:14 ` [PATCH 17/24] libsas: switch remaining files " Christoph Hellwig
@ 2019-05-02  6:04   ` Hannes Reinecke
  2019-05-05 21:20   ` John Garry
  1 sibling, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:04 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/libsas/sas_discover.c  | 18 +-----------------
>   drivers/scsi/libsas/sas_event.c     | 18 +-----------------
>   drivers/scsi/libsas/sas_expander.c  | 16 +---------------
>   drivers/scsi/libsas/sas_host_smp.c  |  5 +----
>   drivers/scsi/libsas/sas_init.c      | 19 +------------------
>   drivers/scsi/libsas/sas_internal.h  | 19 +------------------
>   drivers/scsi/libsas/sas_phy.c       | 18 +-----------------
>   drivers/scsi/libsas/sas_port.c      | 18 +-----------------
>   drivers/scsi/libsas/sas_scsi_host.c | 19 +------------------
>   include/scsi/libsas.h               | 19 +------------------
>   include/scsi/sas.h                  | 19 +------------------
>   include/scsi/sas_ata.h              | 17 +----------------
>   12 files changed, 12 insertions(+), 193 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 18/24] sd: add a SPDX tag to sd.c
  2019-05-01 16:14 ` [PATCH 18/24] sd: add a SPDX tag to sd.c Christoph Hellwig
@ 2019-05-02  6:05   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:05 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> sd.c is the only sd file missing licensing information.  Add a
> GPLv2 tag for the default kernel license.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/sd.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
> index 2b2bc4b49d78..4852c2223359 100644
> --- a/drivers/scsi/sd.c
> +++ b/drivers/scsi/sd.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>   /*
>    *      sd.c Copyright (C) 1992 Drew Eckhardt
>    *           Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 19/24] sd: switch remaining files to SPDX tags
  2019-05-01 16:14 ` [PATCH 19/24] sd: switch remaining files to SPDX tags Christoph Hellwig
@ 2019-05-02  6:05   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:05 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/sd_dif.c | 16 +---------------
>   drivers/scsi/sd_zbc.c | 16 +---------------
>   2 files changed, 2 insertions(+), 30 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 20/24] ses: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 20/24] ses: switch " Christoph Hellwig
@ 2019-05-02  6:05   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:05 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/ses.c | 20 ++------------------
>   1 file changed, 2 insertions(+), 18 deletions(-)
> 
> diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c
> index 0fc39224ce1e..8afea5a1d3f0 100644
> --- a/drivers/scsi/ses.c
> +++ b/drivers/scsi/ses.c
> @@ -1,25 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0
>   /*
>    * SCSI Enclosure Services
>    *
>    * Copyright (C) 2008 James Bottomley <James.Bottomley@HansenPartnership.com>
> - *
> -**-----------------------------------------------------------------------------
> -**
> -**  This program is free software; you can redistribute it and/or
> -**  modify it under the terms of the GNU General Public License
> -**  version 2 as published by the Free Software Foundation.
> -**
> -**  This program is distributed in the hope that it will be useful,
> -**  but WITHOUT ANY WARRANTY; without even the implied warranty of
> -**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> -**  GNU General Public License for more details.
> -**
> -**  You should have received a copy of the GNU General Public License
> -**  along with this program; if not, write to the Free Software
> -**  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
> -**
> -**-----------------------------------------------------------------------------
> -*/
> + */
>   
>   #include <linux/slab.h>
>   #include <linux/module.h>
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 21/24] sg: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 21/24] sg: " Christoph Hellwig
@ 2019-05-02  6:05   ` Hannes Reinecke
  2019-05-02 15:28   ` Douglas Gilbert
  2019-05-05 20:04   ` Douglas Gilbert
  2 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:05 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/sg.c | 7 +------
>   1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
> index d3f15319b9b3..bcdc28e5ede7 100644
> --- a/drivers/scsi/sg.c
> +++ b/drivers/scsi/sg.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0+
>   /*
>    *  History:
>    *  Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
> @@ -8,12 +9,6 @@
>    *        Copyright (C) 1992 Lawrence Foard
>    * Version 2 and 3 extensions to driver:
>    *        Copyright (C) 1998 - 2014 Douglas Gilbert
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, or (at your option)
> - * any later version.
> - *
>    */
>   
>   static int sg_version_num = 30536;	/* 2 digits for each component */
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 22/24] sr: add a SPDX tag to sr.c
  2019-05-01 16:14 ` [PATCH 22/24] sr: add a SPDX tag to sr.c Christoph Hellwig
@ 2019-05-02  6:06   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:06 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> sr.c is the only sr file missing licensing information.  Add a
> GPLv2 tag for the default kernel license.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/sr.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c
> index 039c27c2d7b3..701d1e68d86e 100644
> --- a/drivers/scsi/sr.c
> +++ b/drivers/scsi/sr.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>   /*
>    *  sr.c Copyright (C) 1992 David Giller
>    *           Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 23/24] st: add a SPDX tag to st.c
  2019-05-01 16:14 ` [PATCH 23/24] st: add a SPDX tag to st.c Christoph Hellwig
@ 2019-05-02  6:06   ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:06 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> st.c is the only st file missing licensing information.  Add a
> GPLv2 tag for the default kernel license.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>   drivers/scsi/st.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
> index 19c022e66d63..b814906af0a3 100644
> --- a/drivers/scsi/st.c
> +++ b/drivers/scsi/st.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>   /*
>      SCSI Tape Driver for Linux version 1.1 and newer. See the accompanying
>      file Documentation/scsi/st.txt for more information.
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 24/24] osst: add a SPDX tag to osst.c
  2019-05-01 16:14 ` [PATCH 24/24] osst: add a SPDX tag to osst.c Christoph Hellwig
@ 2019-05-02  6:06   ` Hannes Reinecke
  2019-05-02 12:53     ` Christoph Hellwig
  0 siblings, 1 reply; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02  6:06 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel, Chriosstoph Hellwig

On 5/1/19 6:14 PM, Christoph Hellwig wrote:
> osst.c is the only osst file missing licensing information.  Add a
> GPLv2 tag for the default kernel license.
> 
> Signed-off-by: Chriosstoph Hellwig <hch@losst.de>
> ---
>   drivers/scsi/osst.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c
> index be3c73ebbfde..fe4f0e7d6359 100644
> --- a/drivers/scsi/osst.c
> +++ b/drivers/scsi/osst.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>   /*
>     SCSI Tape Driver for Linux version 1.1 and newer. See the accompanying
>     file Documentation/scsi/st.txt for more information.
> 
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 24/24] osst: add a SPDX tag to osst.c
  2019-05-02  6:06   ` Hannes Reinecke
@ 2019-05-02 12:53     ` Christoph Hellwig
  2019-05-02 14:19       ` Hannes Reinecke
  0 siblings, 1 reply; 57+ messages in thread
From: Christoph Hellwig @ 2019-05-02 12:53 UTC (permalink / raw)
  To: Hannes Reinecke
  Cc: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen,
	Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel, Chriosstoph Hellwig

On Thu, May 02, 2019 at 08:06:38AM +0200, Hannes Reinecke wrote:
> On 5/1/19 6:14 PM, Christoph Hellwig wrote:
>> osst.c is the only osst file missing licensing information.  Add a
>> GPLv2 tag for the default kernel license.
>>
>> Signed-off-by: Chriosstoph Hellwig <hch@losst.de>

FYI, my s/st/osst/ on the commit message message up my signoff, this
should be:

Signed-off-by: Christoph Hellwig <hch@lst.de>

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 24/24] osst: add a SPDX tag to osst.c
  2019-05-02 12:53     ` Christoph Hellwig
@ 2019-05-02 14:19       ` Hannes Reinecke
       [not found]         ` <CAKnBiiaSyW27tCqU4i6zStF3AoLPcndSL2gjz1b17LdoFddiiw@mail.gmail.com>
  0 siblings, 1 reply; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-02 14:19 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: James E . J . Bottomley, Martin K . Petersen, Lee Duncan,
	Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel, Chriosstoph Hellwig

On 5/2/19 2:53 PM, Christoph Hellwig wrote:
> On Thu, May 02, 2019 at 08:06:38AM +0200, Hannes Reinecke wrote:
>> On 5/1/19 6:14 PM, Christoph Hellwig wrote:
>>> osst.c is the only osst file missing licensing information.  Add a
>>> GPLv2 tag for the default kernel license.
>>>
>>> Signed-off-by: Chriosstoph Hellwig <hch@losst.de>
> 
> FYI, my s/st/osst/ on the commit message message up my signoff, this
> should be:
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
Maybe it's time to kill osst.c for good ...

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 10/24] scsi_transport_srp: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 10/24] scsi_transport_srp: " Christoph Hellwig
  2019-05-02  6:02   ` Hannes Reinecke
@ 2019-05-02 15:02   ` Bart Van Assche
  1 sibling, 0 replies; 57+ messages in thread
From: Bart Van Assche @ 2019-05-02 15:02 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

On Wed, 2019-05-01 at 12:14 -0400, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Acked-by: Bart Van Assche <bvanassche@acm.org>


^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 21/24] sg: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 21/24] sg: " Christoph Hellwig
  2019-05-02  6:05   ` Hannes Reinecke
@ 2019-05-02 15:28   ` Douglas Gilbert
  2019-05-05 20:04   ` Douglas Gilbert
  2 siblings, 0 replies; 57+ messages in thread
From: Douglas Gilbert @ 2019-05-02 15:28 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Jens Axboe, Kai Mäkisara, linux-scsi, open-iscsi,
	osst-users, linux-kernel

On 2019-05-01 6:14 p.m., Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.

IOWs replace 3.5 lines with 1.

> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Acked-by: Douglas Gilbert <dgilbert@interlog.com>

> ---
>   drivers/scsi/sg.c | 7 +------
>   1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
> index d3f15319b9b3..bcdc28e5ede7 100644
> --- a/drivers/scsi/sg.c
> +++ b/drivers/scsi/sg.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0+
>   /*
>    *  History:
>    *  Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
> @@ -8,12 +9,6 @@
>    *        Copyright (C) 1992 Lawrence Foard
>    * Version 2 and 3 extensions to driver:
>    *        Copyright (C) 1998 - 2014 Douglas Gilbert
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, or (at your option)
> - * any later version.
> - *
>    */
>   
>   static int sg_version_num = 30536;	/* 2 digits for each component */
> 


^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 24/24] osst: add a SPDX tag to osst.c
       [not found]         ` <CAKnBiiaSyW27tCqU4i6zStF3AoLPcndSL2gjz1b17LdoFddiiw@mail.gmail.com>
@ 2019-05-03  8:05           ` Hannes Reinecke
  0 siblings, 0 replies; 57+ messages in thread
From: Hannes Reinecke @ 2019-05-03  8:05 UTC (permalink / raw)
  To: Willem Riede
  Cc: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen,
	Lee Duncan, Chris Leech, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel, Chriosstoph Hellwig

On 5/2/19 9:55 PM, Willem Riede wrote:
> On Thu, May 2, 2019 at 7:19 AM Hannes Reinecke <hare@suse.de 
> <mailto:hare@suse.de>> wrote:
> 
>     On 5/2/19 2:53 PM, Christoph Hellwig wrote:
>      > On Thu, May 02, 2019 at 08:06:38AM +0200, Hannes Reinecke wrote:
>      >> On 5/1/19 6:14 PM, Christoph Hellwig wrote:
>      >>> osst.c is the only osst file missing licensing information.  Add a
>      >>> GPLv2 tag for the default kernel license.
>      >>>
>      >>> Signed-off-by: Chriosstoph Hellwig <hch@losst.de
>     <mailto:hch@losst.de>>
>      >
>      > FYI, my s/st/osst/ on the commit message message up my signoff, this
>      > should be:
>      >
>      > Signed-off-by: Christoph Hellwig <hch@lst.de <mailto:hch@lst.de>>
>      >
>     Maybe it's time to kill osst.c for good ...
> 
> 
> Yes. I've been thinking about doing just that. The devices it supports 
> are now thoroughly obsolete. The manufacturer has gone out of business. 
> All my test drives have broken down over time, so I can't even test any 
> changes any more.
> 
Just when I thought to reach out to you :-)

Thing is, we've done numerous changes to the 'st' driver in the course 
of the years, most of which seem to have avoided osst :-(

So what's your suggestion here?
Just drop it completely?
Or can we somehow fold the OnStream-specific things back into st.c?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@suse.de			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 21/24] sg: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 21/24] sg: " Christoph Hellwig
  2019-05-02  6:05   ` Hannes Reinecke
  2019-05-02 15:28   ` Douglas Gilbert
@ 2019-05-05 20:04   ` Douglas Gilbert
  2 siblings, 0 replies; 57+ messages in thread
From: Douglas Gilbert @ 2019-05-05 20:04 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Jens Axboe, Kai Mäkisara, linux-scsi, open-iscsi,
	osst-users, linux-kernel

On 2019-05-01 6:14 p.m., Christoph Hellwig wrote:
> Use the the GPLv2+ SPDX tag instead of verbose boilerplate text.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

This scripts/checkpatch.pl noise seems to be related to the patch below:

$ scripts/checkpatch.pl /tmp/t.patch
Traceback (most recent call last):
   File "scripts/spdxcheck.py", line 6, in <module>
     from ply import lex, yacc
ImportError: No module named ply
total: 0 errors, 0 warnings, 98 lines checked

That happens both in the mkp/scsi/5.2/scsi-queue and the latest linux-stable
trees.


BTW Are C++ comments (as used in this patch) now permitted in lk code?

Doug Gilbert

> ---
>   drivers/scsi/sg.c | 7 +------
>   1 file changed, 1 insertion(+), 6 deletions(-)
> 
> diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
> index d3f15319b9b3..bcdc28e5ede7 100644
> --- a/drivers/scsi/sg.c
> +++ b/drivers/scsi/sg.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0+
>   /*
>    *  History:
>    *  Started: Aug 9 by Lawrence Foard (entropy@world.std.com),
> @@ -8,12 +9,6 @@
>    *        Copyright (C) 1992 Lawrence Foard
>    * Version 2 and 3 extensions to driver:
>    *        Copyright (C) 1998 - 2014 Douglas Gilbert
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2, or (at your option)
> - * any later version.
> - *
>    */
>   
>   static int sg_version_num = 30536;	/* 2 digits for each component */
> 


^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 17/24] libsas: switch remaining files to SPDX tags
  2019-05-01 16:14 ` [PATCH 17/24] libsas: switch remaining files " Christoph Hellwig
  2019-05-02  6:04   ` Hannes Reinecke
@ 2019-05-05 21:20   ` John Garry
  1 sibling, 0 replies; 57+ messages in thread
From: John Garry @ 2019-05-05 21:20 UTC (permalink / raw)
  To: Christoph Hellwig, James E . J . Bottomley, Martin K . Petersen
  Cc: Hannes Reinecke, Lee Duncan, Chris Leech, Willem Riede,
	Doug Gilbert, Jens Axboe, Kai Mäkisara, linux-scsi,
	open-iscsi, osst-users, linux-kernel

On 01/05/2019 17:14, Christoph Hellwig wrote:
> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.
>

Should we update the Kconfig+Makefile similarly?

> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  drivers/scsi/libsas/sas_discover.c  | 18 +-----------------
>  drivers/scsi/libsas/sas_event.c     | 18 +-----------------
>  drivers/scsi/libsas/sas_expander.c  | 16 +---------------
>  drivers/scsi/libsas/sas_host_smp.c  |  5 +----
>  drivers/scsi/libsas/sas_init.c      | 19 +------------------
>  drivers/scsi/libsas/sas_internal.h  | 19 +------------------
>  drivers/scsi/libsas/sas_phy.c       | 18 +-----------------
>  drivers/scsi/libsas/sas_port.c      | 18 +-----------------
>  drivers/scsi/libsas/sas_scsi_host.c | 19 +------------------
>  include/scsi/libsas.h               | 19 +------------------
>  include/scsi/sas.h                  | 19 +------------------
>  include/scsi/sas_ata.h              | 17 +----------------
>  12 files changed, 12 insertions(+), 193 deletions(-)
>
> diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c

...

>  #include <linux/export.h>
> diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
> index 83f2fd70ce76..76ea83ddafa7 100644
> --- a/drivers/scsi/libsas/sas_expander.c
> +++ b/drivers/scsi/libsas/sas_expander.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0
>  /*
>   * Serial Attached SCSI (SAS) Expander discovery and configuration
>   *
> @@ -5,21 +6,6 @@
>   * Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
>   *
>   * This file is licensed under GPLv2.

Was this just missed?

> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but
> - * WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
> - * General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
> - *
>   */
>




^ permalink raw reply	[flat|nested] 57+ messages in thread

* Re: [PATCH 12/24] libfc: switch to SPDX tags
  2019-05-01 16:14 ` [PATCH 12/24] libfc: switch to SPDX tags Christoph Hellwig
  2019-05-02  6:03   ` Hannes Reinecke
@ 2019-05-14  1:15   ` Martin K. Petersen
  1 sibling, 0 replies; 57+ messages in thread
From: Martin K. Petersen @ 2019-05-14  1:15 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: James E . J . Bottomley, Martin K . Petersen, Hannes Reinecke,
	Lee Duncan, Chris Leech, Willem Riede, Doug Gilbert, Jens Axboe,
	Kai Mäkisara, linux-scsi, open-iscsi, osst-users,
	linux-kernel


Christoph,

> Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Applied to 5.3/scsi-queue except for patch #24.

Patch #13 used /* */ syntax on some of the .c files. I fixed those up.

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 57+ messages in thread

end of thread, other threads:[~2019-05-14  1:17 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01 16:13 switch core SCSI code to SPDX tags Christoph Hellwig
2019-05-01 16:13 ` [PATCH 01/24] scsi: add SPDX tags to scsi midlayer files missing licensing information Christoph Hellwig
2019-05-02  5:58   ` Hannes Reinecke
2019-05-01 16:13 ` [PATCH 02/24] scsi: switch the remaining scsi midlayer files to use SPDX tags Christoph Hellwig
2019-05-02  5:59   ` Hannes Reinecke
2019-05-01 16:13 ` [PATCH 03/24] scsi_netlink: remove duplicate GPL boilerplate text Christoph Hellwig
2019-05-02  5:59   ` Hannes Reinecke
2019-05-01 16:13 ` [PATCH 04/24] scsi_transport.h: switch to SPDX tags Christoph Hellwig
2019-05-02  5:59   ` Hannes Reinecke
2019-05-01 16:13 ` [PATCH 05/24] scsi_transport_fc: remove duplicate GPL boilerplate text Christoph Hellwig
2019-05-02  6:00   ` Hannes Reinecke
2019-05-01 16:13 ` [PATCH 06/24] scsi_transport_fc: switch to SPDX tags Christoph Hellwig
2019-05-02  6:00   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 07/24] scsi_transport_iscsi: " Christoph Hellwig
2019-05-02  6:01   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 08/24] scsi_transport_sas: " Christoph Hellwig
2019-05-02  6:01   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 09/24] scsi_transport_spi: " Christoph Hellwig
2019-05-02  6:01   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 10/24] scsi_transport_srp: " Christoph Hellwig
2019-05-02  6:02   ` Hannes Reinecke
2019-05-02 15:02   ` Bart Van Assche
2019-05-01 16:14 ` [PATCH 11/24] libfc: remove duplicate GPL boilerplate text Christoph Hellwig
2019-05-02  6:02   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 12/24] libfc: switch to SPDX tags Christoph Hellwig
2019-05-02  6:03   ` Hannes Reinecke
2019-05-14  1:15   ` Martin K. Petersen
2019-05-01 16:14 ` [PATCH 13/24] libfcoe: " Christoph Hellwig
2019-05-02  6:03   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 14/24] libiscsi: " Christoph Hellwig
2019-05-02  6:03   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 15/24] libsas: add a SPDX tag to sas_task.c Christoph Hellwig
2019-05-02  6:04   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 16/24] libsas: switch sas_ata.[ch] to SPDX tags Christoph Hellwig
2019-05-02  6:04   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 17/24] libsas: switch remaining files " Christoph Hellwig
2019-05-02  6:04   ` Hannes Reinecke
2019-05-05 21:20   ` John Garry
2019-05-01 16:14 ` [PATCH 18/24] sd: add a SPDX tag to sd.c Christoph Hellwig
2019-05-02  6:05   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 19/24] sd: switch remaining files to SPDX tags Christoph Hellwig
2019-05-02  6:05   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 20/24] ses: switch " Christoph Hellwig
2019-05-02  6:05   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 21/24] sg: " Christoph Hellwig
2019-05-02  6:05   ` Hannes Reinecke
2019-05-02 15:28   ` Douglas Gilbert
2019-05-05 20:04   ` Douglas Gilbert
2019-05-01 16:14 ` [PATCH 22/24] sr: add a SPDX tag to sr.c Christoph Hellwig
2019-05-02  6:06   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 23/24] st: add a SPDX tag to st.c Christoph Hellwig
2019-05-02  6:06   ` Hannes Reinecke
2019-05-01 16:14 ` [PATCH 24/24] osst: add a SPDX tag to osst.c Christoph Hellwig
2019-05-02  6:06   ` Hannes Reinecke
2019-05-02 12:53     ` Christoph Hellwig
2019-05-02 14:19       ` Hannes Reinecke
     [not found]         ` <CAKnBiiaSyW27tCqU4i6zStF3AoLPcndSL2gjz1b17LdoFddiiw@mail.gmail.com>
2019-05-03  8:05           ` Hannes Reinecke

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).