]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: ftdi_sio: unlock_kernel() on error in set_serial_info()
authorDan Carpenter <error27@gmail.com>
Tue, 3 Feb 2009 08:11:38 +0000 (11:11 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Feb 2009 19:19:48 +0000 (11:19 -0800)
commit64905b48098761e779bb848e69365c018894ea81
tree3bb7bde4822ada0562cf84574022dd5d0cbeec59
parent506e9469833c66ed6bb9acd902e208f7301b6adb
USB: ftdi_sio: unlock_kernel() on error in set_serial_info()

There was one error path where unlock_kernel() wasn't called.

This was found with a code checker (http://repo.or.cz/w/smatch.git/)
Compile tested only, sorry.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c