From: Luiz Fernando N. Capitulino Date: Tue, 13 Jun 2006 01:46:20 +0000 (-0300) Subject: [PATCH] usbserial: Fixes wrong return values. X-Git-Tag: v2.6.18-rc1~858^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db54a53d26322e978e66482208afabaab9cd0752;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed