This is a note to let you know that I've just added the patch titled

    drivers/staging/comedi/comedi_fops.c: add missing vfree

to the 3.4-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drivers-staging-comedi-comedi_fops.c-add-missing-vfree.patch
and it can be found in the queue-3.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From abae41e6438b798e046d721b6ccdd55b4a398170 Mon Sep 17 00:00:00 2001
From: Julia Lawall <julia.law...@lip6.fr>
Date: Sun, 22 Apr 2012 13:37:09 +0200
Subject: drivers/staging/comedi/comedi_fops.c: add missing vfree

From: Julia Lawall <julia.law...@lip6.fr>

commit abae41e6438b798e046d721b6ccdd55b4a398170 upstream.

aux_free is freed on all other exits from the function.  By removing the
return, we can benefit from the vfree already at the end of the function.

Signed-off-by: Julia Lawall <julia.law...@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

---
 drivers/staging/comedi/comedi_fops.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/staging/comedi/comedi_fops.c
+++ b/drivers/staging/comedi/comedi_fops.c
@@ -280,7 +280,7 @@ static int do_devconfig_ioctl(struct com
        if (ret == 0) {
                if (!try_module_get(dev->driver->module)) {
                        comedi_device_detach(dev);
-                       return -ENOSYS;
+                       ret = -ENOSYS;
                }
        }
 


Patches currently in stable-queue which might be from julia.law...@lip6.fr are

queue-3.4/drivers-staging-comedi-comedi_fops.c-add-missing-vfree.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to