Commit 7f3f356e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: gb-audio: fix build warning

sizeof wants %zu when on a 64bit build, so change the dev_err() call to
remove a build warning in the audio.c file.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Acked-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 68fff960
...@@ -307,7 +307,7 @@ static int gb_i2s_mgmt_report_event_recv(u8 type, struct gb_operation *op) ...@@ -307,7 +307,7 @@ static int gb_i2s_mgmt_report_event_recv(u8 type, struct gb_operation *op)
} }
if (op->request->payload_size < sizeof(*req)) { if (op->request->payload_size < sizeof(*req)) {
dev_err(&connection->dev, "Short request received: %d, %d\n", dev_err(&connection->dev, "Short request received: %zu, %zu\n",
op->request->payload_size, sizeof(*req)); op->request->payload_size, sizeof(*req));
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment