Hello,
I have the following updates to the uio_pdrv driver currently in Greg's
queue:
Uwe Kleine-König (2):
uio_pdrv: fix memory leak
uio_pdrv: fix license specification
drivers/uio/uio_pdrv.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
I send them as a reply to this mail.
I already sent the two in a single patch. The squashed patch was
Acked-by: Hans, so I added his Acked-by: to both patches.
Actually I don't care if they go in as one or two changesets or if they
are both squashed onto the original patch. Do whatever is easier for
you.
Best regards
Uwe
Thanks to Magnus Damm for pointing that out.
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Hans J. Koch <[email protected]>
---
drivers/uio/uio_pdrv.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/uio/uio_pdrv.c b/drivers/uio/uio_pdrv.c
index 5d0d2e8..aa3bff8 100644
--- a/drivers/uio/uio_pdrv.c
+++ b/drivers/uio/uio_pdrv.c
@@ -88,6 +88,8 @@ static int uio_pdrv_remove(struct platform_device *pdev)
uio_unregister_device(pdata->uioinfo);
+ kfree(pdata);
+
return 0;
}
--
1.5.6.2
Thanks to Magnus Damm for pointing that out.
Signed-off-by: Uwe Kleine-König <[email protected]>
Acked-by: Hans J. Koch <[email protected]>
---
drivers/uio/uio_pdrv.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/uio/uio_pdrv.c b/drivers/uio/uio_pdrv.c
index aa3bff8..0b4ef39 100644
--- a/drivers/uio/uio_pdrv.c
+++ b/drivers/uio/uio_pdrv.c
@@ -116,5 +116,5 @@ module_exit(uio_pdrv_exit);
MODULE_AUTHOR("Uwe Kleine-Koenig");
MODULE_DESCRIPTION("Userspace I/O platform driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" DRIVER_NAME);
--
1.5.6.2
This is a note to let you know that I've just added the patch titled
Subject: UIO: uio_pdrv: fix license specification
to my gregkh-2.6 tree. Its filename is
uio-uio_pdrv-fix-license-specification.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From [email protected] Wed Aug 20 13:45:09 2008
From: Uwe Kleine-K?nig <[email protected]>
Date: Fri, 11 Jul 2008 11:10:37 +0200
Subject: UIO: uio_pdrv: fix license specification
To: Greg KH <[email protected]>, "Hans J. Koch" <[email protected]>
Cc: Magnus Damm <[email protected]>, <[email protected]>
Message-ID: <[email protected]>
Thanks to Magnus Damm for pointing that out.
Signed-off-by: Uwe Kleine-K?nig <[email protected]>
Cc: Magnus Damm <[email protected]>
Acked-by: Hans J. Koch <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/uio/uio_pdrv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/uio/uio_pdrv.c
+++ b/drivers/uio/uio_pdrv.c
@@ -116,5 +116,5 @@ module_exit(uio_pdrv_exit);
MODULE_AUTHOR("Uwe Kleine-Koenig");
MODULE_DESCRIPTION("Userspace I/O platform driver");
-MODULE_LICENSE("GPL");
+MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" DRIVER_NAME);
Patches currently in gregkh-2.6 which might be from [email protected] are
driver-core.current/uio-uio_pdrv-fix-license-specification.patch
driver-core.current/uio-uio_pdrv-fix-memory-leak.patch
driver-core.current/uio-generic-irq-handling-for-some-uio-platform-devices.patch
This is a note to let you know that I've just added the patch titled
Subject: UIO: uio_pdrv: fix memory leak
to my gregkh-2.6 tree. Its filename is
uio-uio_pdrv-fix-memory-leak.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From [email protected] Wed Aug 20 13:44:18 2008
From: Uwe Kleine-K?nig <[email protected]>
Date: Fri, 11 Jul 2008 11:10:36 +0200
Subject: UIO: uio_pdrv: fix memory leak
To: Greg KH <[email protected]>, "Hans J. Koch" <[email protected]>
Cc: Magnus Damm <[email protected]>, <[email protected]>
Message-ID: <[email protected]>
Thanks to Magnus Damm for pointing that out.
Signed-off-by: Uwe Kleine-K?nig <[email protected]>
Cc: Magnus Damm <[email protected]>
Acked-by: Hans J. Koch <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/uio/uio_pdrv.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/uio/uio_pdrv.c
+++ b/drivers/uio/uio_pdrv.c
@@ -88,6 +88,8 @@ static int uio_pdrv_remove(struct platfo
uio_unregister_device(pdata->uioinfo);
+ kfree(pdata);
+
return 0;
}
Patches currently in gregkh-2.6 which might be from [email protected] are
driver-core.current/uio-uio_pdrv-fix-license-specification.patch
driver-core.current/uio-uio_pdrv-fix-memory-leak.patch
driver-core.current/uio-generic-irq-handling-for-some-uio-platform-devices.patch