]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB Elan FTDI: check for workqueue creation
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 6 Mar 2007 10:47:44 +0000 (02:47 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 10 Mar 2007 03:52:25 +0000 (19:52 -0800)
commitee17b289732e04fdcdd8ce2ce19b18d3e8b08e20
tree4506f7400f7bde608339d286f6ca4c3fd316fe09
parent834dbca5b6b79ddb7cf56001ea7b6d4481fdf1e7
USB Elan FTDI: check for workqueue creation

Avoid NULL pointer usage if workqueue creation failed.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/ftdi-elan.c