Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753301AbdCTIxK (ORCPT ); Mon, 20 Mar 2017 04:53:10 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:62008 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbdCTIwD (ORCPT ); Mon, 20 Mar 2017 04:52:03 -0400 From: Arnd Bergmann To: Jie Deng Cc: Arnd Bergmann , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] [net-next] net: dwc-xlgmac: add module license Date: Mon, 20 Mar 2017 09:51:13 +0100 Message-Id: <20170320085123.1032301-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20170320085123.1032301-1-arnd@arndb.de> References: <20170320085123.1032301-1-arnd@arndb.de> X-Provags-ID: V03:K0:j13nhCoD+zLWxeUbbUVX/nrYMpCqqttV0lFhLrgK2xb6FD/8/TI gE7CQOaXOFfngKFAzRLaMP2B8JlpwQLOaYERDeEQ+NkG1I+SCZw09dVqOBZ7R92CGXlGQT2 yQJaGpnMEQfex4l7S3sLWbapiW8BscvMcJNA1rNnoBEvp13Dj6iJBxOw84JnstYfq0DanPQ EHOa29Rrh5w1BmpW/UGsw== X-UI-Out-Filterresults: notjunk:1;V01:K0:IVmr1V5ciOM=:BH5gCbGGQYyw1T2whFIKDJ 4ScCQAv8IFXnI4LfJV+KmGCpSlbzM46B6xddD3aOihDNOggV/0sKqh1wgPJQrUj+v0UEjwV9c EMC7GCl3Rasz+zV/OW7696+OVFiRvp4aQ2AUVCWlqMufmHf9zkxmczhoeOJxdEMB6yaY+wHVZ wFC4B7yH40LGk0funM8YOA1RFFT558RppQUUhiix7yHPSwyu1/JbOPU/Q7XG6N7kTaoBc7MKT 5a0oPYUFTeJpFg4K/NbSay2RBwD9loZzC/XUGYQnqwPVFhRZ+J5eDPBKZGm1NIpj/JlteEDiV A3gFKslLHkhnwzjg/3BJpMBp+BHpDEYGAGeNg6mYV+e0kIVYsKKV+zfCjP/GhTx6JLSWYL7qC i2atUOsTWNUUDJ6H2RBLSMwvE+Wxl77BNHcWUxjrWEwJ05NtViDD29iBuKABTKwh7MsHRri+w ROL2pgpW903s2Vk5X3uCLlCJccfjRaTowqJcYkDRHvQeKIWhwyXGKsccmfzBhqc4+ePLK/9AF 0UP0Lu3ObPQUmJTm1g3++oeP7IK03AQZzxguYJmPPRRx2O+HxgKuBo6xE541EP+PEPqidG2Up hJJR1IGtaOWNVY76UtVhc9oS0sNiwZmLoPqH/YhInjAMqcUgLEI7uQ3iEqT3vQFsuKaf4TiRR D9ghu8pwxKwOlN1FDF/cLlzMBPIXLzCUMs+p9Uy9NnFYfIQkT82cwO1An4UXm9ziAF7w= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1223 Lines: 30 When building the driver as a module, we get a warning about the lack of a license: WARNING: modpost: missing MODULE_LICENSE() in drivers/net/ethernet/synopsys/dwc-xlgmac.o see include/linux/module.h for more information Curiously the text in the .c files only mentions GPLv2+, while the license tag in the PCI driver contains both GPL and BSD. I picked the license text as the more definite reference here and put a GPL tag in there. Fixes: 65e0ace2c5cd ("net: dwc-xlgmac: Initial driver for DesignWare Enterprise Ethernet") Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/synopsys/dwc-xlgmac-common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c b/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c index 726d78ac4907..b72196ab647f 100644 --- a/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c +++ b/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c @@ -25,6 +25,7 @@ static int debug = -1; module_param(debug, int, 0644); +MODULE_LICENSE("GPL"); MODULE_PARM_DESC(debug, "DWC ethernet debug level (0=none,...,16=all)"); static const u32 default_msg_level = (NETIF_MSG_LINK | NETIF_MSG_IFDOWN | NETIF_MSG_IFUP); -- 2.9.0