diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2009-07-30 15:28:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-07 16:05:13 -0700 |
commit | 01105a246345f011fde64d24a601090b646e9e4c (patch) | |
tree | 867c6496a74a5aa87d81c319cd7c67adadc18f0c /drivers/usb/core/notify.c | |
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>
Diffstat (limited to 'drivers/usb/core/notify.c')
0 files changed, 0 insertions, 0 deletions