diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2009-07-30 21:28:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-08 01:05:13 +0200 |
commit | 01105a246345f011fde64d24a601090b646e9e4c (patch) | |
tree | 867c6496a74a5aa87d81c319cd7c67adadc18f0c /drivers/usb/host/ehci-hcd.c | |
parent | USB: musb: fix the nop registration for OMAP3EVM (diff) | |
download | linux-01105a246345f011fde64d24a601090b646e9e4c.tar.xz linux-01105a246345f011fde64d24a601090b646e9e4c.zip |
USB: usbfs: fix -ENOENT error code to be -ENODEV
This patch (as1272) changes the error code returned when an open call
for a USB device node fails to locate the corresponding device. The
appropriate error code is -ENODEV, not -ENOENT.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Kay Sievers <kay.sievers@vrfy.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
0 files changed, 0 insertions, 0 deletions