Skip to contentSkip to conversation

net: mscc: Add SPDX identifier

PATCH Applied Alexandre Belloni 4 participants 9 messages May 17, 2018 – May 18, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: mscc: Add SPDX identifier

ocelot_qsys.h is missing the SPDX identfier, fix that.

---
 drivers/net/ethernet/mscc/ocelot_qsys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mscc/ocelot_qsys.h +1 -1
index aa7267d5ca77..d8c63aa761be 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
 /*
  * Microsemi Ocelot Switch driver
  *
- * License: Dual MIT/GPL
  * Copyright (c) 2017 Microsemi Corporation
  */
 
Signature · 1 line
2.17.0
#1 lore raw
Quoted 3 lines · Alexandre Belloni

ocelot_qsys.h is missing the SPDX identfier, fix that.

Only the copyright holders should ideally be modifying these and also removing other license content.

For instance, what's the real intent here?

drivers/net/ethernet/mscc/ocelot_qsys.h

Quoted 1 line
drivers/net/ethernet/mscc/ocelot_qsys.h +0 -0

[]

drivers/net/ethernet/mscc/ocelot_qsys.h line 1

Quoted 2 lines
drivers/net/ethernet/mscc/ocelot_qsys.h +1 -0
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */

GPL 2.0+ or 2.0?

Quoted 7 lines
drivers/net/ethernet/mscc/ocelot_qsys.h +0 -1
 /*
  * Microsemi Ocelot Switch driver
  *
- * License: Dual MIT/GPL
  * Copyright (c) 2017 Microsemi Corporation
  */
 
#2 lore raw
Quoted 10 lines · Joe Perches
Quoted 3 lines · Alexandre Belloni

ocelot_qsys.h is missing the SPDX identfier, fix that.

Only the copyright holders should ideally be modifying these and also removing other license content.

For instance, what's the real intent here?

Well, if you have a look, I submitted that file this cycle and it is the only one that doesn't have the proper SPDX identifier. This is a mistake I'm fixing.

Quoted 7 lines

drivers/net/ethernet/mscc/ocelot_qsys.h

Quoted 1 line
drivers/net/ethernet/mscc/ocelot_qsys.h +0 -0

[]

drivers/net/ethernet/mscc/ocelot_qsys.h line 1

Quoted 2 lines
drivers/net/ethernet/mscc/ocelot_qsys.h +1 -0
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */

GPL 2.0+ or 2.0?

2.0

Signature · 3 lines
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
Quoted 9 lines · Alexandre Belloni
Quoted 8 lines · Joe Perches
Quoted 3 lines · Alexandre Belloni

ocelot_qsys.h is missing the SPDX identfier, fix that.

Only the copyright holders should ideally be modifying these and also removing other license content.

Quoted 6 lines
Quoted 2 lines

For instance, what's the real intent here?

Well, if you have a look, I submitted that file this cycle and it is the only one that doesn't have the proper SPDX identifier. This is a mistake I'm fixing.

Just because you submitted it does not mean you
are the copyright holder.

Quoted 10 lines
Quoted 8 lines

drivers/net/ethernet/mscc/ocelot_qsys.h

Quoted 1 line
drivers/net/ethernet/mscc/ocelot_qsys.h +0 -0

[]

drivers/net/ethernet/mscc/ocelot_qsys.h line 1

Quoted 2 lines
drivers/net/ethernet/mscc/ocelot_qsys.h +1 -0
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */

GPL 2.0+ or 2.0?

2.0

How do you know that?

#4 lore raw
Quoted 29 lines · Joe Perches
Quoted 9 lines · Alexandre Belloni
Quoted 8 lines · Joe Perches
Quoted 3 lines · Alexandre Belloni

ocelot_qsys.h is missing the SPDX identfier, fix that.

Only the copyright holders should ideally be modifying these and also removing other license content.

Quoted 6 lines
Quoted 2 lines

For instance, what's the real intent here?

Well, if you have a look, I submitted that file this cycle and it is the only one that doesn't have the proper SPDX identifier. This is a mistake I'm fixing.

Just because you submitted it does not mean you
are the copyright holder.

Quoted 9 lines
Quoted 8 lines

drivers/net/ethernet/mscc/ocelot_qsys.h

Quoted 1 line
drivers/net/ethernet/mscc/ocelot_qsys.h +0 -0

[]

drivers/net/ethernet/mscc/ocelot_qsys.h line 1

Quoted 2 lines
drivers/net/ethernet/mscc/ocelot_qsys.h +1 -0
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */

GPL 2.0+ or 2.0?

Quoted 4 lines
Quoted 1 line

2.0

How do you know that?

The fact is that it should have been submitted with the SPDX identifier to be consistent with the rest of the driver. If you can't trust me on that, then, you can't probably trust anyone submitting anything new driver to the kernel.

I still don't understand why you are making an issue out of this.

Because my email address doesn't match the copyright holder's name doesn't mean I'm not allowed to fix my own mistake.

Signature · 3 lines
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw
Quoted 32 lines · Alexandre Belloni
Quoted 31 lines · Joe Perches
Quoted 9 lines · Alexandre Belloni
Quoted 8 lines · Joe Perches
Quoted 3 lines · Alexandre Belloni

ocelot_qsys.h is missing the SPDX identfier, fix that.

Only the copyright holders should ideally be modifying these and also removing other license content.

Quoted 6 lines
Quoted 2 lines

For instance, what's the real intent here?

Well, if you have a look, I submitted that file this cycle and it is the only one that doesn't have the proper SPDX identifier. This is a mistake I'm fixing.

Just because you submitted it does not mean you
are the copyright holder.

Quoted 10 lines
Quoted 8 lines

drivers/net/ethernet/mscc/ocelot_qsys.h

Quoted 1 line
drivers/net/ethernet/mscc/ocelot_qsys.h +0 -0

[]

drivers/net/ethernet/mscc/ocelot_qsys.h line 1

Quoted 2 lines
drivers/net/ethernet/mscc/ocelot_qsys.h +1 -0
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */

GPL 2.0+ or 2.0?

2.0

Quoted 7 lines
Quoted 2 lines

How do you know that?

The fact is that it should have been submitted with the SPDX identifier to be consistent with the rest of the driver. If you can't trust me on that, then, you can't probably trust anyone submitting anything new driver to the kernel.

Silly.

Quoted 1 line

I still don't understand why you are making an issue out of this.

Correctness in licensing text is important.

Quoted 2 lines

Because my email address doesn't match the copyright holder's name doesn't mean I'm not allowed to fix my own mistake.

Mostly, it's a question of what the original license is. As far as I can tell, microsemi publishes their code only under an MIT license.

The MIT license does allow sublicensing, so it does seem you can choose what additional license restrictions you can assert as long as the original MIT license is also followed.

cheers, Joe

#6 lore raw
Quoted 4 lines · Joe Perches

Mostly, it's a question of what the original license is. As far as I can tell, microsemi publishes their code only under an MIT license.

This code didn't exist until I wrote it. The original license is the one from the SPDX identifier.

Quoted 5 lines

The MIT license does allow sublicensing, so it does seem you can choose what additional license restrictions you can assert as long as the original MIT license is also followed.

Then all is good.

Signature · 3 lines
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
Reviewed-by on v1 1/1
#7 lore raw
In reply to Alexandre Belloni
Quoted 21 lines · Alexandre Belloni

ocelot_qsys.h is missing the SPDX identfier, fix that.

---
 drivers/net/ethernet/mscc/ocelot_qsys.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mscc/ocelot_qsys.h +1 -2
index aa7267d5ca77..d8c63aa761be 100644
@@ -1,7 +1,7 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
 /*
  * Microsemi Ocelot Switch driver
  *
- * License: Dual MIT/GPL
  * Copyright (c) 2017 Microsemi Corporation
  */
 
--
Quoted 2 lines

2.17.0