projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68fff96
)
greybus: gb-audio: fix build warning
author
Greg Kroah-Hartman
<gregkh@google.com>
Fri, 8 May 2015 20:33:36 +0000
(22:33 +0200)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/audio.c
b/drivers/staging/greybus/audio.c
index 717e00255ca6368bb98ba656c6f65ac9e04b08ea..29f5d4bc2fd230a71bded31a6ecea050b0580901 100644
(file)
--- 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;
}