From: Tomas Winkler Date: Wed, 14 Mar 2012 12:39:42 +0000 (+0200) Subject: staging/mei: propagate error codes up in the write flow X-Git-Tag: v3.4-rc1~186^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ccb7b6249f9bc50678e2a383084ed0a34cc9239;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed