Skip to contentSkip to conversation

drivers/i2c: Include SPDX-license-identifier

PATCH In review Mawanda Henry 2 participants 2 messages Jun 21, 2018

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

PATCH 1/1 drivers/i2c: Include SPDX-license-identifier

including the SPDX license identifier header makes it easy for developers and machines to know the lecense that is governing the file

---
 drivers/i2c/i2c-core-slave.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-slave.c +1 -0
index 4a78c65..883ca836 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Linux I2C core slave support code
  *
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Mawanda Henry

including the SPDX license identifier header makes it easy for developers and machines to know the lecense that is governing the file

If you do changes like this, you should also remove the actual license text (it follows later in the comment in this case). And more importantly, you should make *sure* that you use the correct SPDX tag, which you don't in this case.

So, you need to fix those issues.

Cheers,
Peter

Quoted 15 lines
---
 drivers/i2c/i2c-core-slave.c | 1 +
 1 file changed, 1 insertion(+)
drivers/i2c/i2c-core-slave.c +1 -0
index 4a78c65..883ca836 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
 /*
  * Linux I2C core slave support code
  *