]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
USB: fix pm counter leak in usblp
authorOliver Neukum <oliver@neukum.org>
Tue, 12 Feb 2008 18:08:30 +0000 (19:08 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Feb 2008 23:38:48 +0000 (15:38 -0800)
commit1902869019918411c148c18cc3a22aade569ac9a
tree5df2039971423956a70fdf962d6102e1987dc585
parent2129c4e1b4469e1f9711a54e97e8ddf8b26bb62d
USB: fix pm counter leak in usblp

if you fail in open() you must decrement the pm counter again.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
drivers/usb/class/usblp.c