]> git.baikalelectronics.ru Git - kernel.git/commit
staging/usbip: Fix vhci_hcd attach failure error message to be informative
authorShuah Khan <shuah.kh@samsung.com>
Wed, 22 Jan 2014 16:38:14 +0000 (09:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 17:15:35 +0000 (09:15 -0800)
commit0eb78375ec669e9ca547fbde5aec8fb1aa07a396
treea566fbfb0e9b083a2b86d894a6268467d13a397b
parent389f0bd82ce34cf928793594e7ee15664e46fb8c
staging/usbip: Fix vhci_hcd attach failure error message to be informative

When attach fails due to unsupported and/or invalid bus speed, the message
vhci_hcd prints out doesn't include any useful information as to what caused
the failure. Change the message to be informative and use usb_speed_string()
to get the right speed string from usb common.

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/vhci_sysfs.c