* [PATCH] phy: qcom-ufs: add MODULE_LICENSE tag
@ 2018-01-10 16:35 Arnd Bergmann
2018-01-24 21:10 ` Arnd Bergmann
2018-01-24 22:55 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2018-01-10 16:35 UTC (permalink / raw)
To: Kishon Vijay Abraham I
Cc: Arnd Bergmann, Vivek Gautam, Subhash Jadavani, Bjorn Andersson,
Heiko Stuebner, linux-kernel
While the specific UFS PHY drivers (14nm and 20nm) have a module
license, the common base module does not, leading to a Kbuild
failure:
WARNING: modpost: missing MODULE_LICENSE() in drivers/phy/qualcomm/phy-qcom-ufs.o
FATAL: modpost: GPL-incompatible module phy-qcom-ufs.ko uses GPL-only symbol 'clk_enable'
This adds a module description and license tag to fix the build.
I added both Yaniv and Vivek as authors here, as Yaniv sent the initial
submission, while Vivek did most of the work since.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/phy/qualcomm/phy-qcom-ufs.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/phy/qualcomm/phy-qcom-ufs.c b/drivers/phy/qualcomm/phy-qcom-ufs.c
index c5ff4525edef..c5493ea51282 100644
--- a/drivers/phy/qualcomm/phy-qcom-ufs.c
+++ b/drivers/phy/qualcomm/phy-qcom-ufs.c
@@ -675,3 +675,8 @@ int ufs_qcom_phy_power_off(struct phy *generic_phy)
return 0;
}
EXPORT_SYMBOL_GPL(ufs_qcom_phy_power_off);
+
+MODULE_AUTHOR("Yaniv Gardi <ygardi@codeaurora.org>");
+MODULE_AUTHOR("Vivek Gautam <vivek.gautam@codeaurora.org>");
+MODULE_DESCRIPTION("Universal Flash Storage (UFS) QCOM PHY");
+MODULE_LICENSE("GPL v2");
--
2.9.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] phy: qcom-ufs: add MODULE_LICENSE tag
2018-01-10 16:35 [PATCH] phy: qcom-ufs: add MODULE_LICENSE tag Arnd Bergmann
@ 2018-01-24 21:10 ` Arnd Bergmann
2018-01-24 22:55 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2018-01-24 21:10 UTC (permalink / raw)
To: Kishon Vijay Abraham I
Cc: Arnd Bergmann, Vivek Gautam, Subhash Jadavani, Bjorn Andersson,
Heiko Stuebner, Linux Kernel Mailing List
On Wed, Jan 10, 2018 at 5:35 PM, Arnd Bergmann <arnd@arndb.de> wrote:
> While the specific UFS PHY drivers (14nm and 20nm) have a module
> license, the common base module does not, leading to a Kbuild
> failure:
>
> WARNING: modpost: missing MODULE_LICENSE() in drivers/phy/qualcomm/phy-qcom-ufs.o
> FATAL: modpost: GPL-incompatible module phy-qcom-ufs.ko uses GPL-only symbol 'clk_enable'
>
> This adds a module description and license tag to fix the build.
> I added both Yaniv and Vivek as authors here, as Yaniv sent the initial
> submission, while Vivek did most of the work since.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
I think this is now the last such warning we get in linux-next.
Kishon, can you pick up my patch for 4.16 so we get a clean
build again?
Thanks,
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] phy: qcom-ufs: add MODULE_LICENSE tag
2018-01-10 16:35 [PATCH] phy: qcom-ufs: add MODULE_LICENSE tag Arnd Bergmann
2018-01-24 21:10 ` Arnd Bergmann
@ 2018-01-24 22:55 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2018-01-24 22:55 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Kishon Vijay Abraham I, Vivek Gautam, Subhash Jadavani,
Heiko Stuebner, linux-kernel
On Wed 10 Jan 08:35 PST 2018, Arnd Bergmann wrote:
> While the specific UFS PHY drivers (14nm and 20nm) have a module
> license, the common base module does not, leading to a Kbuild
> failure:
>
> WARNING: modpost: missing MODULE_LICENSE() in drivers/phy/qualcomm/phy-qcom-ufs.o
> FATAL: modpost: GPL-incompatible module phy-qcom-ufs.ko uses GPL-only symbol 'clk_enable'
>
> This adds a module description and license tag to fix the build.
> I added both Yaniv and Vivek as authors here, as Yaniv sent the initial
> submission, while Vivek did most of the work since.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Regards,
Bjorn
> ---
> drivers/phy/qualcomm/phy-qcom-ufs.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/phy/qualcomm/phy-qcom-ufs.c b/drivers/phy/qualcomm/phy-qcom-ufs.c
> index c5ff4525edef..c5493ea51282 100644
> --- a/drivers/phy/qualcomm/phy-qcom-ufs.c
> +++ b/drivers/phy/qualcomm/phy-qcom-ufs.c
> @@ -675,3 +675,8 @@ int ufs_qcom_phy_power_off(struct phy *generic_phy)
> return 0;
> }
> EXPORT_SYMBOL_GPL(ufs_qcom_phy_power_off);
> +
> +MODULE_AUTHOR("Yaniv Gardi <ygardi@codeaurora.org>");
> +MODULE_AUTHOR("Vivek Gautam <vivek.gautam@codeaurora.org>");
> +MODULE_DESCRIPTION("Universal Flash Storage (UFS) QCOM PHY");
> +MODULE_LICENSE("GPL v2");
> --
> 2.9.0
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-01-24 22:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-10 16:35 [PATCH] phy: qcom-ufs: add MODULE_LICENSE tag Arnd Bergmann
2018-01-24 21:10 ` Arnd Bergmann
2018-01-24 22:55 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox