mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
staging: ion: Build fix for compat_ion.c
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user