From: Greg Kroah-Hartman Date: Fri, 8 May 2015 20:33:36 +0000 (+0200) Subject: greybus: gb-audio: fix build warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f3f356e455dd4438fdad2d45330f0d27bd087b6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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: Greg Kroah-Hartman Acked-by: John Stultz --- diff --git a/drivers/staging/greybus/audio.c b/drivers/staging/greybus/audio.c index 717e00255ca6..29f5d4bc2fd2 100644 --- a/drivers/staging/greybus/audio.c +++ b/drivers/staging/greybus/audio.c @@ -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)) { - 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)); return -EINVAL; }