diff options
| author | Colin Cross <[email protected]> | 2013-12-13 19:26:16 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-12-14 08:57:19 -0800 |
| commit | db866e3ded294aac1059d45d6497cf1bdbebaa04 (patch) | |
| tree | 2172ec856ceaf696e684036f6d521a4a264f328d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a82130f470893c4a5be3e3cfcdc72c427a41b630 (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 <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions