mei: fix format string in debug prints
authorAlexander Usyskin <alexander.usyskin@intel.com>
Wed, 17 Feb 2016 16:27:34 +0000 (18:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:27:36 +0000 (14:27 -0800)
commit35bf7692e765c2275bf93fe573f7ca868ab73453
tree9c96029f50751a8cc6daba72e1e39cc01085c622
parent941943cf519f7cacbbcecee5c4ef4b77b466bd5c
mei: fix format string in debug prints

buf_idx type was changed to size_t, and few places
missed out to change the print format from %ld to %zu.
Use also uz for buf.size which is also of size_t

Fixes:
commit 56988f22e097 ("mei: fix possible integer overflow issue")'

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/amthif.c
drivers/misc/mei/client.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/main.c