Re: [PATCH 12/24] libfc: switch to SPDX tags

2019-05-13 Thread Martin K. Petersen


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


Re: [PATCH 12/24] libfc: switch to SPDX tags

2019-05-02 Thread Hannes Reinecke

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

Cheers,

Hannes
--
Dr. Hannes ReineckeTeamlead Storage & Networking
h...@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)

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


[PATCH 12/24] libfc: switch to SPDX tags

2019-05-01 Thread Christoph Hellwig
Use the the GPLv2 SPDX tag instead of verbose boilerplate text.

Signed-off-by: Christoph Hellwig 
---
 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