]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
greybus: gb-audio: fix build warning
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 8 May 2015 20:33:36 +0000 (22:33 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 11 May 2015 20:26:44 +0000 (13:26 -0700)
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 <gregkh@google.com>
Acked-by: John Stultz <john.stultz@linaro.org>
drivers/staging/greybus/audio.c

index 717e00255ca6368bb98ba656c6f65ac9e04b08ea..29f5d4bc2fd230a71bded31a6ecea050b0580901 100644 (file)
@@ -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;
        }