[PATCH 1/2] uio_pdrv: fix memory leak - Kernel

This is a discussion on [PATCH 1/2] uio_pdrv: fix memory leak - Kernel ; Thanks to Magnus Damm for pointing that out. Signed-off-by: Uwe Kleine-König Acked-by: Hans J. Koch --- 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 ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [PATCH 1/2] uio_pdrv: fix memory leak

  1. [PATCH 1/2] uio_pdrv: fix memory leak

    Thanks to Magnus Damm for pointing that out.

    Signed-off-by: Uwe Kleine-König
    Acked-by: Hans J. Koch
    ---
    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

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. [PATCH 2/2] uio_pdrv: fix license specification

    Thanks to Magnus Damm for pointing that out.

    Signed-off-by: Uwe Kleine-König
    Acked-by: Hans J. Koch
    ---
    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

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. 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/kern...h-2.6/patches/


    From Uwe.Kleine-Koenig@digi.com Wed Aug 20 13:45:09 2008
    From: Uwe Kleine-Knig
    Date: Fri, 11 Jul 2008 11:10:37 +0200
    Subject: UIO: uio_pdrv: fix license specification
    To: Greg KH , "Hans J. Koch"
    Cc: Magnus Damm ,
    Message-ID: <1215767437-20583-3-git-send-email-Uwe.Kleine-Koenig@digi.com>


    Thanks to Magnus Damm for pointing that out.

    Signed-off-by: Uwe Kleine-Knig
    Cc: Magnus Damm
    Acked-by: Hans J. Koch
    Signed-off-by: Greg Kroah-Hartman

    ---
    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 Uwe.Kleine-Koenig@digi.com 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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  4. 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/kern...h-2.6/patches/


    From Uwe.Kleine-Koenig@digi.com Wed Aug 20 13:44:18 2008
    From: Uwe Kleine-Knig
    Date: Fri, 11 Jul 2008 11:10:36 +0200
    Subject: UIO: uio_pdrv: fix memory leak
    To: Greg KH , "Hans J. Koch"
    Cc: Magnus Damm ,
    Message-ID: <1215767437-20583-2-git-send-email-Uwe.Kleine-Koenig@digi.com>


    Thanks to Magnus Damm for pointing that out.

    Signed-off-by: Uwe Kleine-Knig
    Cc: Magnus Damm
    Acked-by: Hans J. Koch
    Signed-off-by: Greg Kroah-Hartman

    ---
    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 Uwe.Kleine-Koenig@digi.com 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
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread