commit | 01105a246345f011fde64d24a601090b646e9e4c | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Thu Jul 30 15:28:14 2009 -0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Aug 07 16:05:13 2009 -0700 |
tree | 867c6496a74a5aa87d81c319cd7c67adadc18f0c | |
parent | e8e2ff462dd92693f29eb848f42d3eb720390d59 [diff] |
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>