Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446248 > unrolled thread

[PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE

Started byArnd Bergmann <arnd@arndb.de>
First post2016-07-19 10:50 +0200
Last post2016-07-24 08:20 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE Arnd Bergmann <arnd@arndb.de> - 2016-07-19 10:50 +0200
    RE: [PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE Appana Durga Kedareswara Rao <appana.durga.rao@xilinx.com> - 2016-07-19 11:00 +0200
    Re: [PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE Vinod Koul <vinod.koul@intel.com> - 2016-07-24 08:20 +0200

#1446248 — [PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE

FromArnd Bergmann <arnd@arndb.de>
Date2016-07-19 10:50 +0200
Subject[PATCH] dmaengine: zynqmp_dma: add missing MODULE_LICENSE
Message-ID<rWySZ-1Ms-7@gated-at.bofh.it>
We get a warning about the missing MODULE_LICENSE tag for this newly
added driver module:

WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/xilinx/zynqmp_dma.o
see include/linux/module.h for more information

This adds a "GPL" license, matching the "version 2 or later" information in
the comment at the start of the file.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/dma/xilinx/zynqmp_dma.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c
index f777a5bc0db8..693474f5f2e5 100644
--- a/drivers/dma/xilinx/zynqmp_dma.c
+++ b/drivers/dma/xilinx/zynqmp_dma.c
@@ -1141,5 +1141,6 @@ static struct platform_driver zynqmp_dma_driver = {
 
 module_platform_driver(zynqmp_dma_driver);
 
+MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Xilinx, Inc.");
 MODULE_DESCRIPTION("Xilinx ZynqMP DMA driver");
-- 
2.9.0

[toc] | [next] | [standalone]


#1446254

FromAppana Durga Kedareswara Rao <appana.durga.rao@xilinx.com>
Date2016-07-19 11:00 +0200
Message-ID<rWz2F-1PI-3@gated-at.bofh.it>
In reply to#1446248
> 
> We get a warning about the missing MODULE_LICENSE tag for this newly added
> driver module:
> 
> WARNING: modpost: missing MODULE_LICENSE() in
> drivers/dma/xilinx/zynqmp_dma.o see include/linux/module.h for more
> information
> 
> This adds a "GPL" license, matching the "version 2 or later" information in the
> comment at the start of the file.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Arnd thanks for the patch...

Acked-by: Kedareswara rao Appana <appanad@xilinx.com>

> ---
>  drivers/dma/xilinx/zynqmp_dma.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/dma/xilinx/zynqmp_dma.c
> b/drivers/dma/xilinx/zynqmp_dma.c index f777a5bc0db8..693474f5f2e5 100644
> --- a/drivers/dma/xilinx/zynqmp_dma.c
> +++ b/drivers/dma/xilinx/zynqmp_dma.c
> @@ -1141,5 +1141,6 @@ static struct platform_driver zynqmp_dma_driver = {
> 
>  module_platform_driver(zynqmp_dma_driver);
> 
> +MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Xilinx, Inc.");
>  MODULE_DESCRIPTION("Xilinx ZynqMP DMA driver");
> --
> 2.9.0

[toc] | [prev] | [next] | [standalone]


#1449074

FromVinod Koul <vinod.koul@intel.com>
Date2016-07-24 08:20 +0200
Message-ID<rYkVz-4mo-5@gated-at.bofh.it>
In reply to#1446248
On Tue, Jul 19, 2016 at 10:43:49AM +0200, Arnd Bergmann wrote:
> We get a warning about the missing MODULE_LICENSE tag for this newly
> added driver module:
> 
> WARNING: modpost: missing MODULE_LICENSE() in drivers/dma/xilinx/zynqmp_dma.o
> see include/linux/module.h for more information
> 
> This adds a "GPL" license, matching the "version 2 or later" information in
> the comment at the start of the file.

Applied, thanks

-- 
~Vinod

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web