Skip to contentSkip to conversation

drivers: ufs: Add missing MODULE_* information

PATCH Applied Anders Roxell 3 participants 3 messages Mar 21, 2019 – Mar 26, 2019

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

PATCH v2 1/1 drivers: ufs: Add missing MODULE_* information

When building the ufs-mediatek module the following warning shows up:

WARNING: modpost: missing MODULE_LICENSE() in
drivers/scsi/ufs/ufs-mediatek.o

Rework to add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION.

Fixes ddd90623ce26 ("scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips")
---
 drivers/scsi/ufs/ufs-mediatek.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/scsi/ufs/ufs-mediatek.c +5 -0
index c3b78fc83d3f..5e3bda42ac3b 100644
@@ -364,4 +364,9 @@ static struct platform_driver ufs_mtk_pltform = {
 	},
 };
 
+MODULE_AUTHOR("Stanley Chu <[email protected]>");
+MODULE_AUTHOR("Peter Wang <[email protected]>");
+MODULE_DESCRIPTION("MediaTek UFS Host Driver");
+MODULE_LICENSE("GPL v2");
+
 module_platform_driver(ufs_mtk_pltform);
Signature · 1 line
2.20.1
Reviewed-by on v2 1/1
#1 lore raw

Hi Anders,

Quoted 18 lines · Anders Roxell

When building the ufs-mediatek module the following warning shows up:

WARNING: modpost: missing MODULE_LICENSE() in
drivers/scsi/ufs/ufs-mediatek.o

Rework to add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION.

Fixes ddd90623ce26 ("scsi: ufs-mediatek: Add UFS support for Mediatek SoC chips")
---
 drivers/scsi/ufs/ufs-mediatek.c | 5 +++++
 1 file changed, 5 insertions(+)
drivers/scsi/ufs/ufs-mediatek.c +0 -0
index c3b78fc83d3f..5e3bda42ac3b 100644

drivers/scsi/ufs/ufs-mediatek.c static struct platform_driver ufs_mtk_pltform = { · line 372

Quoted 9 lines
drivers/scsi/ufs/ufs-mediatek.c +5 -0
@@ -364,4 +364,9 @@ static struct platform_driver ufs_mtk_pltform = {
 	},
 };
 
+MODULE_AUTHOR("Stanley Chu <[email protected]>");
+MODULE_AUTHOR("Peter Wang <[email protected]>");
+MODULE_DESCRIPTION("MediaTek UFS Host Driver");
+MODULE_LICENSE("GPL v2");
+
 module_platform_driver(ufs_mtk_pltform);

Thanks,
Stanley

#2 lore raw
In reply to Anders Roxell

Anders,

Quoted 6 lines

When building the ufs-mediatek module the following warning shows up:

WARNING: modpost: missing MODULE_LICENSE() in
drivers/scsi/ufs/ufs-mediatek.o

Rework to add MODULE_LICENSE,MODULE_AUTHOR and MODULE_DESCRIPTION.

Applied to 5.2/scsi-queue, thanks.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering