Skip to contentSkip to conversation

i2c: acorn: add MODULE_LICENSE tag

PATCH Superseded Arnd Bergmann 3 participants 4 messages Jan 11, 2018 – Jan 15, 2018 I2C subsystem host drivers

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: acorn: add MODULE_LICENSE tag

As of v4.15, Kbuild warns about missing MODULE_LICENSE tags:

WARNING: modpost: missing MODULE_LICENSE() in drivers/i2c/busses/i2c-acorn.o

This adds a license, author and description tag, matching the comment at the start of the acorn i2c driver.

---
 drivers/i2c/busses/i2c-acorn.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/i2c/busses/i2c-acorn.c +4 -0
index 9d7be5af2bf2..6463189ca183 100644
@@ -94,3 +94,7 @@ static int __init i2c_ioc_init(void)
 }
 
 module_init(i2c_ioc_init);
+
+MODULE_AUTHOR("Russell King <[email protected]>");
+MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");
+MODULE_LICENSE("GPL v2");
Signature · 1 line
2.9.0
#1 lore raw
Quoted 8 lines · Arnd Bergmann

As of v4.15, Kbuild warns about missing MODULE_LICENSE tags:

WARNING: modpost: missing MODULE_LICENSE() in drivers/i2c/busses/i2c-acorn.o

This adds a license, author and description tag, matching the comment at the start of the acorn i2c driver.

Looks good, but since rmk is still around, let's add him to CC...

Quoted 19 lines
---
 drivers/i2c/busses/i2c-acorn.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/i2c/busses/i2c-acorn.c +4 -0
index 9d7be5af2bf2..6463189ca183 100644
@@ -94,3 +94,7 @@ static int __init i2c_ioc_init(void)
 }
 
 module_init(i2c_ioc_init);
+
+MODULE_AUTHOR("Russell King <[email protected]>");
+MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");
+MODULE_LICENSE("GPL v2");
Signature · 1 line
2.9.0
#2 lore raw
Quoted 23 lines · Wolfram Sang
Quoted 8 lines · Arnd Bergmann

As of v4.15, Kbuild warns about missing MODULE_LICENSE tags:

WARNING: modpost: missing MODULE_LICENSE() in drivers/i2c/busses/i2c-acorn.o

This adds a license, author and description tag, matching the comment at the start of the acorn i2c driver.

Looks good, but since rmk is still around, let's add him to CC...

Quoted 11 lines
---
 drivers/i2c/busses/i2c-acorn.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/i2c/busses/i2c-acorn.c +0 -0
index 9d7be5af2bf2..6463189ca183 100644
@@ -94,3 +94,7 @@ static int __init i2c_ioc_init(void)
 }
 
Quoted 3 lines

drivers/i2c/busses/i2c-acorn.c static int __init i2c_ioc_init(void) · line 98

Quoted 3 lines
drivers/i2c/busses/i2c-acorn.c +2 -0
 module_init(i2c_ioc_init);
+
+MODULE_AUTHOR("Russell King <[email protected]>");

[email protected] please - dspam on _this_ account files such mails into the spam mailbox.

Thanks.

Quoted 5 lines
Quoted 5 lines
drivers/i2c/busses/i2c-acorn.c +2 -0
+MODULE_DESCRIPTION("ARM IOC/IOMD i2c driver");
+MODULE_LICENSE("GPL v2");
Signature · 1 line
2.9.0
Signature · 2 lines
Russell King
ARM architecture Linux Kernel maintainer
#3 lore raw
Quoted 4 lines · Russell King
Quoted 3 lines · Wolfram Sang
Quoted 2 lines · Arnd Bergmann

As of v4.15, Kbuild warns about missing MODULE_LICENSE tags:

Quoted 8 lines
Quoted 8 lines
Quoted 6 lines

WARNING: modpost: missing MODULE_LICENSE() in drivers/i2c/busses/i2c-acorn.o

This adds a license, author and description tag, matching the comment at the start of the acorn i2c driver.

Looks good, but since rmk is still around, let's add him to CC...

Oops, I just went with the default from scripts/get_maintainer.pl and forgot to ensure the author was listed there.

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
 drivers/i2c/busses/i2c-acorn.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/i2c/busses/i2c-acorn.c +0 -0
index 9d7be5af2bf2..6463189ca183 100644
@@ -94,3 +94,7 @@ static int __init i2c_ioc_init(void)
 }
 
Quoted 6 lines
Quoted 3 lines

drivers/i2c/busses/i2c-acorn.c static int __init i2c_ioc_init(void) · line 98

Quoted 3 lines
drivers/i2c/busses/i2c-acorn.c +2 -0
 module_init(i2c_ioc_init);
+
+MODULE_AUTHOR("Russell King <[email protected]>");

[email protected] please - dspam on _this_ account files such mails into the spam mailbox.

Ok, resent now. I think what I did there was to check which address you use most commonly in the other MODULE_AUTHOR entries.

Arnd