diff options
| author | Arnd Bergmann <[email protected]> | 2017-05-18 20:21:43 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2017-05-30 12:11:52 +0000 |
| commit | 318fc2a867bc5bac688cb88f111eb75792675dc2 (patch) | |
| tree | dc4b6bd4194d183357ddb30c580e35148790451d /net/unix/af_unix.c | |
| parent | HID: intel_ish-hid: convert timespec to ktime_t (diff) | |
| download | kernel-318fc2a867bc5bac688cb88f111eb75792675dc2.tar.gz kernel-318fc2a867bc5bac688cb88f111eb75792675dc2.zip | |
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 <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
