sfc: Consistently report short MCDI responses as EIO
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 28 Apr 2010 09:27:14 +0000 (09:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 19:44:32 +0000 (12:44 -0700)
In some cases failing functions were returning 0 which is obviously wrong.
In other cases they were returning inappropriate error codes.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found