projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
233fd81
)
staging: ion: Build fix for compat_ion.c
author
John Stultz
<john.stultz@linaro.org>
Wed, 29 Jan 2014 21:00:51 +0000
(13:00 -0800)
committer
John Stultz
<john.stultz@linaro.org>
Wed, 29 Jan 2014 21:07:08 +0000
(13:07 -0800)
compat_get_ion_handle_data is missing a declaration for
the return value.
This patch simply adds it, so things build.
Change-Id: I1a72a3c56975dc614322a63852f2a6554f2be107
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/staging/android/ion/compat_ion.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ion/compat_ion.c
b/drivers/staging/android/ion/compat_ion.c
index fb0ebddbba2b86f9108c3c7ee5a1b7fe3ce534c5..a5e8c408fd7842e3e7e6791ac3194d71280c473c 100644
(file)
--- a/
drivers/staging/android/ion/compat_ion.c
+++ b/
drivers/staging/android/ion/compat_ion.c
@@
-74,6
+74,7
@@
static int compat_get_ion_handle_data(
struct ion_handle_data __user *data)
{
compat_int_t i;
+ int err;
err = get_user(i, &data32->handle);
err |= put_user(i, &data->handle);