Linux-Hwmon Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers
@ 2019-01-28 16:23 Eddie James
  2019-01-28 16:23 ` [PATCH v2 1/2] hwmon (occ): " Eddie James
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Eddie James @ 2019-01-28 16:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-hwmon, linux, joel, jdelvare, tglx, Eddie James

From: Eddie James <eajames@linux.vnet.ibm.com>

Source files for the FSI OCC and OCC hwmon drivers had a combination of bad
license information and missing IBM copyright. Correct the licenses.

Changes since v1:
 - correct header comment style

Eddie James (2):
  hwmon (occ): Fix license headers
  fsi: occ: Fix license header

 drivers/fsi/fsi-occ.c      |  3 ++-
 drivers/hwmon/occ/common.c |  3 ++-
 drivers/hwmon/occ/common.h |  3 ++-
 drivers/hwmon/occ/p8_i2c.c |  3 ++-
 drivers/hwmon/occ/p9_sbe.c |  3 ++-
 drivers/hwmon/occ/sysfs.c  | 13 ++-----------
 6 files changed, 12 insertions(+), 16 deletions(-)

-- 
1.8.3.1


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

* [PATCH v2 1/2] hwmon (occ): Fix license headers
  2019-01-28 16:23 [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers Eddie James
@ 2019-01-28 16:23 ` " Eddie James
  2019-01-31 17:58   ` Guenter Roeck
  2019-01-28 16:23 ` [PATCH v2 2/2] fsi: occ: Fix license header Eddie James
  2019-01-29  8:53 ` [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers Thomas Gleixner
  2 siblings, 1 reply; 5+ messages in thread
From: Eddie James @ 2019-01-28 16:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-hwmon, linux, joel, jdelvare, tglx, Eddie James

Files have inconsistent license information.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 drivers/hwmon/occ/common.c |  3 ++-
 drivers/hwmon/occ/common.h |  3 ++-
 drivers/hwmon/occ/p8_i2c.c |  3 ++-
 drivers/hwmon/occ/p9_sbe.c |  3 ++-
 drivers/hwmon/occ/sysfs.c  | 13 ++-----------
 5 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/drivers/hwmon/occ/common.c b/drivers/hwmon/occ/common.c
index 391118c..b91a80a 100644
--- a/drivers/hwmon/occ/common.c
+++ b/drivers/hwmon/occ/common.c
@@ -1,4 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright IBM Corp 2019
 
 #include <linux/device.h>
 #include <linux/hwmon.h>
diff --git a/drivers/hwmon/occ/common.h b/drivers/hwmon/occ/common.h
index 7c44df3..ed2cf42 100644
--- a/drivers/hwmon/occ/common.h
+++ b/drivers/hwmon/occ/common.h
@@ -1,4 +1,5 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0+ */
+/* Copyright IBM Corp 2019 */
 
 #ifndef OCC_COMMON_H
 #define OCC_COMMON_H
diff --git a/drivers/hwmon/occ/p8_i2c.c b/drivers/hwmon/occ/p8_i2c.c
index b59efc9..76fb787 100644
--- a/drivers/hwmon/occ/p8_i2c.c
+++ b/drivers/hwmon/occ/p8_i2c.c
@@ -1,4 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright IBM Corp 2019
 
 #include <linux/device.h>
 #include <linux/errno.h>
diff --git a/drivers/hwmon/occ/p9_sbe.c b/drivers/hwmon/occ/p9_sbe.c
index b65c1d1..f6387cc 100644
--- a/drivers/hwmon/occ/p9_sbe.c
+++ b/drivers/hwmon/occ/p9_sbe.c
@@ -1,4 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright IBM Corp 2019
 
 #include <linux/device.h>
 #include <linux/errno.h>
diff --git a/drivers/hwmon/occ/sysfs.c b/drivers/hwmon/occ/sysfs.c
index 743b26ec..fe3d15e 100644
--- a/drivers/hwmon/occ/sysfs.c
+++ b/drivers/hwmon/occ/sysfs.c
@@ -1,14 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * OCC hwmon driver sysfs interface
- *
- * Copyright (C) IBM Corporation 2018
- *
- * 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.
- */
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright IBM Corp 2019
 
 #include <linux/bitops.h>
 #include <linux/device.h>
-- 
1.8.3.1


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

* [PATCH v2 2/2] fsi: occ: Fix license header
  2019-01-28 16:23 [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers Eddie James
  2019-01-28 16:23 ` [PATCH v2 1/2] hwmon (occ): " Eddie James
@ 2019-01-28 16:23 ` Eddie James
  2019-01-29  8:53 ` [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers Thomas Gleixner
  2 siblings, 0 replies; 5+ messages in thread
From: Eddie James @ 2019-01-28 16:23 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-hwmon, linux, joel, jdelvare, tglx, Eddie James

OCC driver source is missing the IBM Copyright

Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
 drivers/fsi/fsi-occ.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/fsi/fsi-occ.c b/drivers/fsi/fsi-occ.c
index a2301ce..d75038f 100644
--- a/drivers/fsi/fsi-occ.c
+++ b/drivers/fsi/fsi-occ.c
@@ -1,4 +1,5 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright IBM Corp 2019
 
 #include <linux/device.h>
 #include <linux/err.h>
-- 
1.8.3.1


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

* Re: [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers
  2019-01-28 16:23 [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers Eddie James
  2019-01-28 16:23 ` [PATCH v2 1/2] hwmon (occ): " Eddie James
  2019-01-28 16:23 ` [PATCH v2 2/2] fsi: occ: Fix license header Eddie James
@ 2019-01-29  8:53 ` Thomas Gleixner
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Gleixner @ 2019-01-29  8:53 UTC (permalink / raw)
  To: Eddie James; +Cc: linux-kernel, linux-hwmon, linux, joel, jdelvare, Eddie James

On Mon, 28 Jan 2019, Eddie James wrote:

> From: Eddie James <eajames@linux.vnet.ibm.com>
> 
> Source files for the FSI OCC and OCC hwmon drivers had a combination of bad
> license information and missing IBM copyright. Correct the licenses.

Thanks for cleaning that up!

       tglx

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

* Re: [PATCH v2 1/2] hwmon (occ): Fix license headers
  2019-01-28 16:23 ` [PATCH v2 1/2] hwmon (occ): " Eddie James
@ 2019-01-31 17:58   ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2019-01-31 17:58 UTC (permalink / raw)
  To: Eddie James; +Cc: linux-kernel, linux-hwmon, joel, jdelvare, tglx

On Mon, Jan 28, 2019 at 10:23:23AM -0600, Eddie James wrote:
> Files have inconsistent license information.
> 
> Signed-off-by: Eddie James <eajames@linux.ibm.com>

Applied.

Thanks,
Guenter

> ---
>  drivers/hwmon/occ/common.c |  3 ++-
>  drivers/hwmon/occ/common.h |  3 ++-
>  drivers/hwmon/occ/p8_i2c.c |  3 ++-
>  drivers/hwmon/occ/p9_sbe.c |  3 ++-
>  drivers/hwmon/occ/sysfs.c  | 13 ++-----------
>  5 files changed, 10 insertions(+), 15 deletions(-)
> 
> diff --git a/drivers/hwmon/occ/common.c b/drivers/hwmon/occ/common.c
> index 391118c..b91a80a 100644
> --- a/drivers/hwmon/occ/common.c
> +++ b/drivers/hwmon/occ/common.c
> @@ -1,4 +1,5 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0+
> +// Copyright IBM Corp 2019
>  
>  #include <linux/device.h>
>  #include <linux/hwmon.h>
> diff --git a/drivers/hwmon/occ/common.h b/drivers/hwmon/occ/common.h
> index 7c44df3..ed2cf42 100644
> --- a/drivers/hwmon/occ/common.h
> +++ b/drivers/hwmon/occ/common.h
> @@ -1,4 +1,5 @@
> -/* SPDX-License-Identifier: GPL-2.0 */
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +/* Copyright IBM Corp 2019 */
>  
>  #ifndef OCC_COMMON_H
>  #define OCC_COMMON_H
> diff --git a/drivers/hwmon/occ/p8_i2c.c b/drivers/hwmon/occ/p8_i2c.c
> index b59efc9..76fb787 100644
> --- a/drivers/hwmon/occ/p8_i2c.c
> +++ b/drivers/hwmon/occ/p8_i2c.c
> @@ -1,4 +1,5 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0+
> +// Copyright IBM Corp 2019
>  
>  #include <linux/device.h>
>  #include <linux/errno.h>
> diff --git a/drivers/hwmon/occ/p9_sbe.c b/drivers/hwmon/occ/p9_sbe.c
> index b65c1d1..f6387cc 100644
> --- a/drivers/hwmon/occ/p9_sbe.c
> +++ b/drivers/hwmon/occ/p9_sbe.c
> @@ -1,4 +1,5 @@
> -// SPDX-License-Identifier: GPL-2.0
> +// SPDX-License-Identifier: GPL-2.0+
> +// Copyright IBM Corp 2019
>  
>  #include <linux/device.h>
>  #include <linux/errno.h>
> diff --git a/drivers/hwmon/occ/sysfs.c b/drivers/hwmon/occ/sysfs.c
> index 743b26ec..fe3d15e 100644
> --- a/drivers/hwmon/occ/sysfs.c
> +++ b/drivers/hwmon/occ/sysfs.c
> @@ -1,14 +1,5 @@
> -// SPDX-License-Identifier: GPL-2.0
> -/*
> - * OCC hwmon driver sysfs interface
> - *
> - * Copyright (C) IBM Corporation 2018
> - *
> - * 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.
> - */
> +// SPDX-License-Identifier: GPL-2.0+
> +// Copyright IBM Corp 2019
>  
>  #include <linux/bitops.h>
>  #include <linux/device.h>

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

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-28 16:23 [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers Eddie James
2019-01-28 16:23 ` [PATCH v2 1/2] hwmon (occ): " Eddie James
2019-01-31 17:58   ` Guenter Roeck
2019-01-28 16:23 ` [PATCH v2 2/2] fsi: occ: Fix license header Eddie James
2019-01-29  8:53 ` [PATCH v2 0/2] occ: FSI and hwmon: Fix license headers Thomas Gleixner

Linux-Hwmon Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-hwmon/0 linux-hwmon/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hwmon linux-hwmon/ https://lore.kernel.org/linux-hwmon \
		linux-hwmon@vger.kernel.org linux-hwmon@archiver.kernel.org
	public-inbox-index linux-hwmon


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-hwmon


AGPL code for this site: git clone https://public-inbox.org/ public-inbox