netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: hip04: add missing MODULE_LICENSE
@ 2015-01-30 21:57 Arnd Bergmann
  2015-01-31  1:28 ` Ding Tianhong
  2015-02-03  2:51 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2015-01-30 21:57 UTC (permalink / raw)
  To: netdev; +Cc: David Miller, Zhangfei Gao, Ding Tianhong

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.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c b/drivers/net/ethernet/hisilicon/hip04_eth.c
index c02b81bcfffb..b72d238695d7 100644
--- a/drivers/net/ethernet/hisilicon/hip04_eth.c
+++ b/drivers/net/ethernet/hisilicon/hip04_eth.c
@@ -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");

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: hip04: add missing MODULE_LICENSE
  2015-01-30 21:57 [PATCH] net: hip04: add missing MODULE_LICENSE Arnd Bergmann
@ 2015-01-31  1:28 ` Ding Tianhong
  2015-02-03  2:51 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Ding Tianhong @ 2015-01-31  1:28 UTC (permalink / raw)
  To: Arnd Bergmann, netdev; +Cc: David Miller, Zhangfei Gao

On 2015/1/31 5:57, Arnd Bergmann wrote:
> 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.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> diff --git a/drivers/net/ethernet/hisilicon/hip04_eth.c b/drivers/net/ethernet/hisilicon/hip04_eth.c
> index c02b81bcfffb..b72d238695d7 100644
> --- a/drivers/net/ethernet/hisilicon/hip04_eth.c
> +++ b/drivers/net/ethernet/hisilicon/hip04_eth.c
> @@ -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.

Acked-by: Ding Tianhong <dingtianhong@huawei.com>

> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: hip04: add missing MODULE_LICENSE
  2015-01-30 21:57 [PATCH] net: hip04: add missing MODULE_LICENSE Arnd Bergmann
  2015-01-31  1:28 ` Ding Tianhong
@ 2015-02-03  2:51 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2015-02-03  2:51 UTC (permalink / raw)
  To: arnd; +Cc: netdev, zhangfei.gao, dingtianhong

From: Arnd Bergmann <arnd@arndb.de>
Date: Fri, 30 Jan 2015 22:57:01 +0100

> 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.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-03  2:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 21:57 [PATCH] net: hip04: add missing MODULE_LICENSE Arnd Bergmann
2015-01-31  1:28 ` Ding Tianhong
2015-02-03  2:51 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).