diff options
author | Bryan O'Donoghue | 2015-07-14 01:53:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-07-14 02:08:06 +0200 |
commit | e51eafebf83b236d4d43ed13b809c504e2d38d54 (patch) | |
tree | 556cdd3f8f6242ab5760e7ed8764fc01afe94650 | |
parent | greybus: loopback: fix broken tabs in greybus_protocols.h (diff) | |
download | kernel-qcow2-linux-e51eafebf83b236d4d43ed13b809c504e2d38d54.tar.gz kernel-qcow2-linux-e51eafebf83b236d4d43ed13b809c504e2d38d54.tar.xz kernel-qcow2-linux-e51eafebf83b236d4d43ed13b809c504e2d38d54.zip |
greybus: loopback: fix 64bit printf format error
Last patchset missed compilation on 64 bit contained warning.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
-rw-r--r-- | drivers/staging/greybus/loopback.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/loopback.c b/drivers/staging/greybus/loopback.c index b92232b7a881..f07fc0a837d5 100644 --- a/drivers/staging/greybus/loopback.c +++ b/drivers/staging/greybus/loopback.c @@ -34,7 +34,7 @@ struct gb_loopback { int type; u32 size; - u32 size_max; + size_t size_max; int ms_wait; struct gb_loopback_stats latency; @@ -254,7 +254,7 @@ static int gb_loopback_request_recv(u8 type, struct gb_operation *operation) struct gb_loopback *gb = connection->private; struct gb_loopback_transfer_request *request; struct gb_loopback_transfer_response *response; - u32 len; + size_t len; /* By convention, the AP initiates the version operation */ switch (type) { |