USB: FHCI: avoid NULL pointer dereference
authorAlexander Beregalov <a.beregalov@gmail.com>
Thu, 7 Jan 2010 01:17:32 +0000 (04:17 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Jan 2010 23:24:35 +0000 (15:24 -0800)
commitae35fe9e8abe828b25053cd3efdc6953fbb710e3
treedf06177ef93f656171606a2caa485138abba06a1
parent04a723ea9c53ba608b0411aa36948bb57c51a08e
USB: FHCI: avoid NULL pointer dereference

Assign fhci only if usb is not NULL.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/fhci-hcd.c