mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [char-misc-next 0/3] mei: more type conversion issues.
@ 2018-07-12 14:10 Tomas Winkler
  2018-07-12 14:10 ` [char-misc-next 1/3] mei: check for error returned from mei_hbuf_empty_slots() Tomas Winkler
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tomas Winkler @ 2018-07-12 14:10 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Alexander Usyskin, linux-kernel, Tomas Winkler

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-12 14:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-12 14:10 [char-misc-next 0/3] mei: more type conversion issues Tomas Winkler
2018-07-12 14:10 ` [char-misc-next 1/3] mei: check for error returned from mei_hbuf_empty_slots() Tomas Winkler
2018-07-12 14:10 ` [char-misc-next 2/3] mei: use correct type for counter variable in for loops Tomas Winkler
2018-07-12 14:10 ` [char-misc-next 3/3] mei: fix ssize_t to int assignment in read and write ops Tomas Winkler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome