[char-misc-next 0/3] mei: more type conversion issues.

From: Tomas Winkler
Date: Thu Jul 12 2018 - 10:11:27 EST


Add more type conversion issues.
The first one in also address the type promotion bug,
as reported by Dan Carpenter. The particular error should
not really happen unless something is completely wrong, so no urge
to merging them into stable.

Tomas Winkler (3):
mei: check for error returned from mei_hbuf_empty_slots()
mei: use correct type for counter variable in for loops
mei: fix ssize_t to int assignment in read and write ops.

drivers/misc/mei/bus-fixup.c | 2 +-
drivers/misc/mei/client.c | 44 +++++++++++++++++++++++++++-----------------
drivers/misc/mei/client.h | 2 +-
drivers/misc/mei/hw-me.c | 7 +++++--
drivers/misc/mei/hw-txe.c | 4 ++--
drivers/misc/mei/interrupt.c | 15 +++++++++++----
drivers/misc/mei/main.c | 10 +++++-----
7 files changed, 52 insertions(+), 32 deletions(-)

--
2.14.4