2008-07-11 09:11:31

by Uwe Kleine-König

[permalink] [raw]
Subject: [PATCH 0/2] uio_pdrv updates

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


2008-07-11 09:10:52

by Uwe Kleine-König

[permalink] [raw]
Subject: [PATCH 1/2] uio_pdrv: fix memory leak

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

2008-07-11 09:11:09

by Uwe Kleine-König

[permalink] [raw]
Subject: [PATCH 2/2] uio_pdrv: fix license specification

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

2008-08-20 21:04:46

by Greg KH

[permalink] [raw]
Subject: patch uio-uio_pdrv-fix-license-specification.patch added to gregkh-2.6 tree


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

2008-08-20 21:05:15

by Greg KH

[permalink] [raw]
Subject: patch uio-uio_pdrv-fix-memory-leak.patch added to gregkh-2.6 tree


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