firewire: Sanitize send error codes.
authorKristian Høgsberg <krh@redhat.com>
Fri, 26 Jan 2007 05:38:34 +0000 (00:38 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:47 +0000 (22:02 +0100)
commite5f49c3b837ff90c8aec2c6c66c4966080aced06
tree16f6cb30602b9e63b9dc3a0a4ef8b56dcaf10346
parent93c4cceb963ebb133531e5e3f4f6e2da0d222656
firewire: Sanitize send error codes.

Drop the negative errnos and use RCODEs for all error codes
in the complete transaction callback.

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c
drivers/firewire/fw-transaction.c
drivers/firewire/fw-transaction.h