diff options
author | Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br> | 2006-06-13 03:46:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 00:04:18 +0200 |
commit | db54a53d26322e978e66482208afabaab9cd0752 (patch) | |
tree | 389920f93a45647fec5f90eb27e75213c27934f9 /block | |
parent | [PATCH] usb gadget: update pxa2xx_udc.c driver to fully support IXP4xx platform (diff) | |
download | linux-db54a53d26322e978e66482208afabaab9cd0752.tar.xz linux-db54a53d26322e978e66482208afabaab9cd0752.zip |
[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 'block')
0 files changed, 0 insertions, 0 deletions