diff options
author | Tomas Winkler | 2012-03-14 13:39:42 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2012-03-14 20:14:25 +0100 |
commit | 1ccb7b6249f9bc50678e2a383084ed0a34cc9239 (patch) | |
tree | 09ffce08ad018f5a4cf2b0b6f42af0704946e6e4 /MAINTAINERS | |
parent | drivers:staging:mei Fix some typos in staging/mei (diff) | |
download | kernel-qcow2-linux-1ccb7b6249f9bc50678e2a383084ed0a34cc9239.tar.gz kernel-qcow2-linux-1ccb7b6249f9bc50678e2a383084ed0a34cc9239.tar.xz kernel-qcow2-linux-1ccb7b6249f9bc50678e2a383084ed0a34cc9239.zip |
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