2013-04-25 07:37:49

by Uwe Kleine-König

[permalink] [raw]
Subject: [PATCH] uio/aec: specify correct license in MODULE_LICENSE

The file header declares the code to be covered by GPL v2 only, so use
explicit v2 for MODULE_LICENSE, too.

Signed-off-by: Uwe Kleine-König <[email protected]>
---
drivers/uio/uio_aec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/uio/uio_aec.c b/drivers/uio/uio_aec.c
index 1548982..9fed75c 100644
--- a/drivers/uio/uio_aec.c
+++ b/drivers/uio/uio_aec.c
@@ -170,7 +170,7 @@ static void __exit aectc_exit(void)
pci_unregister_driver(&pci_driver);
}

-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");

module_init(aectc_init);
module_exit(aectc_exit);
--
1.8.2.rc2


2013-04-25 08:25:17

by Richard Weinberger

[permalink] [raw]
Subject: Re: [PATCH] uio/aec: specify correct license in MODULE_LICENSE

On Thu, Apr 25, 2013 at 9:37 AM, Uwe Kleine-K?nig
<[email protected]> wrote:
> The file header declares the code to be covered by GPL v2 only, so use
> explicit v2 for MODULE_LICENSE, too.

Doesn't this apply to almost any driver?
I don't understand why you explicitly "fix" this one.

--
Thanks,
//richard

2013-04-25 08:30:40

by Uwe Kleine-König

[permalink] [raw]
Subject: Re: [PATCH] uio/aec: specify correct license in MODULE_LICENSE

On Thu, Apr 25, 2013 at 10:25:11AM +0200, richard -rw- weinberger wrote:
> On Thu, Apr 25, 2013 at 9:37 AM, Uwe Kleine-K?nig
> <[email protected]> wrote:
> > The file header declares the code to be covered by GPL v2 only, so use
> > explicit v2 for MODULE_LICENSE, too.
>
> Doesn't this apply to almost any driver?
> I don't understand why you explicitly "fix" this one.
I fix this driver because I stumbled about it. And yes, I think there
are several more affected, I just didn't come around yet to write a
script.

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-K?nig |
Industrial Linux Solutions | http://www.pengutronix.de/ |