summaryrefslogtreecommitdiff
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>2006-06-13 05:46:20 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-22 02:04:18 +0400
commitdb54a53d26322e978e66482208afabaab9cd0752 (patch)
tree389920f93a45647fec5f90eb27e75213c27934f9 /drivers/usb/storage
parent043ea18b2e145c4c9cb3c30757a65fe0f1678a35 (diff)
downloadlinux-db54a53d26322e978e66482208afabaab9cd0752.tar.xz
[PATCH] usbserial: Fixes wrong return values.
Some usbserial functions returns -EINVAL if the port doesn't exist or if it's not opened. However, the right error code for such situations is -ENODEV. Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/storage')
0 files changed, 0 insertions, 0 deletions