summaryrefslogtreecommitdiff
path: root/drivers/staging/android/ion/ion_heap.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-12-13 19:26:16 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-14 08:57:19 -0800
commitdb866e3ded294aac1059d45d6497cf1bdbebaa04 (patch)
tree2172ec856ceaf696e684036f6d521a4a264f328d /drivers/staging/android/ion/ion_heap.c
parenta82130f470893c4a5be3e3cfcdc72c427a41b630 (diff)
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. Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android/ion/ion_heap.c')
0 files changed, 0 insertions, 0 deletions