Skip to contentSkip to conversation

net: hip04: add missing MODULE_LICENSE

PATCH Applied Arnd Bergmann 3 participants 3 messages Jan 30, 2015 – Feb 3, 2015

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

PATCH 1/1 net: hip04: add missing MODULE_LICENSE

The hip04 ethernet driver causes a new compile-time warning when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/hisilicon/hip04_eth.o see include/linux/module.h for more information

This adds the license as "GPL", which matches the header of the file.

drivers/net/ethernet/hisilicon/hip04_eth.c +1 -0
index c02b81bcfffb..b72d238695d7 100644
@@ -968,3 +968,4 @@ static struct platform_driver hip04_mac_driver = {
 module_platform_driver(hip04_mac_driver);
 
 MODULE_DESCRIPTION("HISILICON P04 Ethernet driver");
+MODULE_LICENSE("GPL");
Acked-by on v1 1/1
#1 lore raw
Quoted 17 lines · Arnd Bergmann

The hip04 ethernet driver causes a new compile-time warning when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/hisilicon/hip04_eth.o see include/linux/module.h for more information

This adds the license as "GPL", which matches the header of the file.

drivers/net/ethernet/hisilicon/hip04_eth.c +0 -0
index c02b81bcfffb..b72d238695d7 100644

drivers/net/ethernet/hisilicon/hip04_eth.c static struct platform_driver hip04_mac_driver = { · line 971

Quoted 4 lines
drivers/net/ethernet/hisilicon/hip04_eth.c +1 -0
@@ -968,3 +968,4 @@ static struct platform_driver hip04_mac_driver = {
 module_platform_driver(hip04_mac_driver);
 
 MODULE_DESCRIPTION("HISILICON P04 Ethernet driver");
+MODULE_LICENSE("GPL");

Good catch.

Quoted 1 line
maintainer Applied
#2 lore raw
In reply to Arnd Bergmann

From: Arnd Bergmann <[email protected]>
Date: Fri, 30 Jan 2015 22:57:01 +0100

Quoted 9 lines

The hip04 ethernet driver causes a new compile-time warning when built as a loadable module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/hisilicon/hip04_eth.o see include/linux/module.h for more information

This adds the license as "GPL", which matches the header of the file.

Applied.