OSDN Git Service

mei: bus: use ssize_t as the return type for send and receive
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 27 Nov 2014 12:07:28 +0000 (14:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jan 2015 13:04:10 +0000 (05:04 -0800)
commit39db74ce1aa83626a0a70ed2abf29a17598fff49
tree3e57345e0161df14173ed443d9a1110c09a8627f
parent787d61822525295399f97390bca3e1bb4ce7a6b3
mei: bus: use ssize_t as the return type for send and receive

Mei bus receive and send function may return either number
of transmitted bytes or errno.  It is better to use ssize_t
type for that purpose that mixing size_t with int.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c
drivers/misc/mei/mei_dev.h
include/linux/mei_cl_bus.h