diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-03-14 14:39:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-14 12:14:25 -0700 |
commit | 1ccb7b6249f9bc50678e2a383084ed0a34cc9239 (patch) | |
tree | 09ffce08ad018f5a4cf2b0b6f42af0704946e6e4 /MAINTAINERS | |
parent | 5f9092f36fa8707d487a911299b21d6df846319c (diff) | |
download | op-kernel-dev-1ccb7b6249f9bc50678e2a383084ed0a34cc9239.zip op-kernel-dev-1ccb7b6249f9bc50678e2a383084ed0a34cc9239.tar.gz |
staging/mei: propagate error codes up in the write flow
Change mei_write_message's return type from bool to int
to enable propagation of the error code up to caller functions.
The function now returns -EIO when low level write fails and 0
on success.
A similar change is done in intermediate caller functions:
mei_send_flow_control, mei_connect, and mei_disconnect
This makes code more alike to typical Linux kernel error
handling.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions