Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5f440762 authored by Colin Cross's avatar Colin Cross Committed by Mitchel Humpherys
Browse files

ion: clean up ioctls



Convert the ion ioctls to use _IOW instead of _IOWR where
appropriate, and factor out the copy_from_user and copy_to_user
based on the _IOC_DIR bits.  For the existing incorrect ioctls,
add a function to wrap _IOC_DIR to return the corrected value.

Change-Id: I3cc34c84b9c52305bdbec27a9224447b102fadcd
Signed-off-by: default avatarColin Cross <ccross@android.com>
Git-commit: b2ee33eb98bd8240787f6b3a6acffdbab40653dc
Git-repo: http://android.googlesource.com/kernel/common/


[mitchelh@codeaurora.org: merge conflict since we never renamed
 heap_mask -> heap_id_mask]
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 2a7fded9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment