lkml.org 
[lkml]   [2018]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] usb: chipidea: imx: make MODULE_LICENCE and SPDX-identifier match
On Mon, Sep 03, 2018 at 04:14:41AM +0000, Peter Chen wrote:
>
> >
> > The SPDX-License-Identifier is set to GPL-2.0+, which correspond to
> > MODULE_LICENSE "GPL".
> >
> > Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> > ---
> > drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- drivers/usb/chipidea/usbmisc_imx.c | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c
> > index 19f5f5f2a48a..555d398fbfa7 100644
> > --- a/drivers/usb/chipidea/ci_hdrc_imx.c
> > +++ b/drivers/usb/chipidea/ci_hdrc_imx.c
> > @@ -492,7 +492,7 @@ static struct platform_driver ci_hdrc_imx_driver =
> > { module_platform_driver(ci_hdrc_imx_driver);
> >
> > MODULE_ALIAS("platform:imx-usb");
> > -MODULE_LICENSE("GPL v2");
> > +MODULE_LICENSE("GPL");
> > MODULE_DESCRIPTION("CI HDRC i.MX USB binding");
> > MODULE_AUTHOR("Marek Vasut <marex@denx.de>");
> > MODULE_AUTHOR("Richard Zhao <richard.zhao@freescale.com>"); diff --git
> > a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c
> > index 34ad5bf8acd8..d9cfa00b8a6c 100644
> > --- a/drivers/usb/chipidea/usbmisc_imx.c
> > +++ b/drivers/usb/chipidea/usbmisc_imx.c
> > @@ -633,6 +633,6 @@ static struct platform_driver usbmisc_imx_driver =
> > { module_platform_driver(usbmisc_imx_driver);
> >
> > MODULE_ALIAS("platform:usbmisc-imx");
> > -MODULE_LICENSE("GPL v2");
> > +MODULE_LICENSE("GPL");
> > MODULE_DESCRIPTION("driver for imx usb non-core registers");
> > MODULE_AUTHOR("Richard Zhao <richard.zhao@freescale.com>");
>
> Greg, does this is a useful change? I am not sure.

As the two licenses are not matching, something needs to be fixed here,
don't you agree?

Please read include/linux/modules.h for what the strings mean, that
should help explain things more.

greg k-h

\
 
 \ /
  Last update: 2018-09-03 14:37    [W:0.083 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site