HID: intel_ish-hid: fix format string for size_t
authorArnd Bergmann <arnd@arndb.de>
Thu, 18 May 2017 20:21:43 +0000 (22:21 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 30 May 2017 12:11:52 +0000 (14:11 +0200)
commit318fc2a867bc5bac688cb88f111eb75792675dc2
treedc4b6bd4194d183357ddb30c580e35148790451d
parent2503f7babbc7f570d06cfa3ca6b7ceec9262ced3
HID: intel_ish-hid: fix format string for size_t

When building for 32-bit architectures, we get a harmless warning:

intel-ish-hid/ishtp-hid-client.c: In function 'process_recv':
intel-ish-hid/ishtp-hid-client.c:139:7: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Werror=format=]

This changes the format string to print size_t variables using %zu
instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ishtp-hid-client.c