Skip to contentSkip to conversation

dmaengine: zynqmp_dma: add missing MODULE_LICENSE

PATCH Applied Arnd Bergmann 3 participants 3 messages Jul 19, 2016 – Jul 24, 2016

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

PATCH 1/1 dmaengine: zynqmp_dma: add missing MODULE_LICENSE

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.

---
 drivers/dma/xilinx/zynqmp_dma.c | 1 +
 1 file changed, 1 insertion(+)
drivers/dma/xilinx/zynqmp_dma.c +1 -0
index f777a5bc0db8..693474f5f2e5 100644
@@ -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");
Signature · 1 line
2.9.0
Acked-by Kedareswara rao Appana on v1 1/1
#1 lore raw
Quoted 5 lines

We get a warning about the missing MODULE_LICENSE tag for this newly added driver module:

Quoted 8 lines

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.

Arnd thanks for the patch...

Quoted 17 lines
---
 drivers/dma/xilinx/zynqmp_dma.c | 1 +
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

b/drivers/dma/xilinx/zynqmp_dma.c index f777a5bc0db8..693474f5f2e5 100644

drivers/dma/xilinx/zynqmp_dma.c +1 -1
@@ -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

Applied
#2 lore raw
In reply to Arnd Bergmann
Quoted 8 lines · Arnd Bergmann

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

Signature · 1 line
~Vinod