occ: FSI and hwmon: Fix license headers
Subsystems (2)
Eddie James
maintainerv2 cover occ: FSI and hwmon: Fix license headers
From: Eddie James <[email protected]>
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(-)
Signature · 1 line
1.8.3.1
Eddie James
maintainerPATCH v2 1/2 hwmon (occ): Fix license headers
Files have inconsistent license information.
--- 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(-)
drivers/hwmon/occ/common.c +2 -1
@@ -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>
drivers/hwmon/occ/common.h +2 -1
@@ -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
drivers/hwmon/occ/p8_i2c.c +2 -1
@@ -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>
drivers/hwmon/occ/p9_sbe.c +2 -1
@@ -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>
drivers/hwmon/occ/sysfs.c +2 -11
@@ -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>
Signature · 1 line
1.8.3.1
Re: [PATCH v2 1/2] hwmon (occ): Fix license headers
Quoted 3 lines · Eddie James
Files have inconsistent license information.
Signed-off-by Eddie James <[email protected]>
Applied.
Thanks,
Guenter
Quoted 73 lines
--- 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(-)drivers/hwmon/occ/common.c +2
-1@@ -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> drivers/hwmon/occ/common.h +2
-1@@ -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 drivers/hwmon/occ/p8_i2c.c +2
-1@@ -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> drivers/hwmon/occ/p9_sbe.c +2
-1@@ -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> drivers/hwmon/occ/sysfs.c +2
-11@@ -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>
Eddie James
maintainerPATCH v2 2/2 fsi: occ: Fix license header
In reply to Eddie JamesOCC driver source is missing the IBM Copyright
--- drivers/fsi/fsi-occ.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/fsi/fsi-occ.c +2 -1
@@ -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>
Signature · 1 line
1.8.3.1
Quoted 4 lines · Eddie James
From: Eddie James <[email protected]>
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