From: "Hans J. Koch" <hjk@linutronix.de>
To: "Uwe Kleine-König" <Uwe.Kleine-Koenig@digi.com>
Cc: "Hans-JÃŒrgen Koch" <hjk@linutronix.de>,
"Greg KH" <greg@kroah.com>,
linux-kernel@vger.kernel.org,
"Magnus Damm" <magnus.damm@gmail.com>
Subject: Re: [PATCH] uio_pdrv: fix memory leak and license specification.
Date: Thu, 10 Jul 2008 00:57:57 +0200 [thread overview]
Message-ID: <20080709225757.GB3232@local> (raw)
In-Reply-To: <DOR-SMS-MAIL1KqnjYT00000466@dor-sms-mail1.digi.com>
On Wed, Jul 09, 2008 at 08:13:23AM +0200, Uwe Kleine-König wrote:
> Thanks to Magnus Damm for pointing that out.
Yep, good catch.
Thanks,
Hans
>
> Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Acked-by: Hans J. Koch <hjk@linutronix.de>
> ---
> Hi,
>
> Greg, this bases on uio-add-generic-uio-platform-driver.patch that is
> already in your queue.
>
> IMHO the best is to squash these two patches together. Can you do that?
>
> Best regards
> Uwe
>
> drivers/uio/uio_pdrv.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/uio/uio_pdrv.c b/drivers/uio/uio_pdrv.c
> index 5d0d2e8..0b4ef39 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;
> }
>
> @@ -114,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
next parent reply other threads:[~2008-07-09 22:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <DOR-SMS-MAIL1KqnjYT00000466@dor-sms-mail1.digi.com>
2008-07-09 22:57 ` Hans J. Koch [this message]
2008-07-11 9:10 ` [PATCH 0/2] uio_pdrv updates Uwe Kleine-König
2008-07-11 9:10 ` [PATCH 1/2] uio_pdrv: fix memory leak Uwe Kleine-König
2008-07-11 9:10 ` [PATCH 2/2] uio_pdrv: fix license specification Uwe Kleine-König
2008-08-20 20:56 ` patch uio-uio_pdrv-fix-license-specification.patch added to gregkh-2.6 tree gregkh
2008-08-20 20:56 ` patch uio-uio_pdrv-fix-memory-leak.patch " gregkh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080709225757.GB3232@local \
--to=hjk@linutronix.de \
--cc=Uwe.Kleine-Koenig@digi.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=magnus.damm@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.