Staging: usb-ip: vhci_hdc:Fix the returned error value
authorShan Wei <shanwei@cn.fujitsu.com>
Fri, 24 Jul 2009 08:57:35 +0000 (16:57 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:05 +0000 (12:02 -0700)
commita7cd5829d8b3837755105d71f76a75cddf49003f
treeaa818b5123bddf7d49d40e0cd91282a508bce4f5
parent91c0f68ff6723cfa45aade768f89fac7c500cd0b
Staging: usb-ip: vhci_hdc:Fix the returned error value

Compared with other drivers, the "ret" should be nagative and
returned. But in vhci_hdc, it always return 0;

I dont't use the driver, and I'm not familiar with the code.
Hope the patch is helpful.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/vhci_hcd.c