1
0
Fork 0

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>
hifive-unleashed-5.1
Bryan O'Donoghue 2015-07-14 00:53:13 +01:00 committed by Greg Kroah-Hartman
parent 52af141b82
commit e51eafebf8
1 changed files with 2 additions and 2 deletions

View File

@ -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) {