usbip: Fix uninitialized variable bug in vhci
commitf0d657e80d788c43ff4a5dbeb47d2ad60059f1c7
authorYuyang Du <yuyang.du@intel.com>
Tue, 27 Jun 2017 15:44:26 +0000 (27 09:44 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jun 2017 15:57:50 +0000 (27 17:57 +0200)
treef2f533361b53e2d4e29c7c1b07d78114a3ce2480
parent4f04c210d031667e503d6538a72345a36f3b5d71
usbip: Fix uninitialized variable bug in vhci

The patch 03cd00d538a6: "usbip: vhci-hcd: Set the vhci structure up
to work" introduced a bug which uses a vairable without initialization
in error handling code. Fix it.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Yuyang Du <yuyang.du@intel.com>
Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/vhci_hcd.c