diff options
author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | 2006-06-12 21:46:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 18:04:18 -0400 |
commit | db54a53d26322e978e66482208afabaab9cd0752 (patch) | |
tree | 389920f93a45647fec5f90eb27e75213c27934f9 /drivers/usb/storage | |
parent | 043ea18b2e145c4c9cb3c30757a65fe0f1678a35 (diff) |
[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