aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2010-07-12 11:09:41 -0300
committerMauro Carvalho Chehab <[email protected]>2011-03-21 20:32:41 -0300
commitfc0a80798576f80ca10b3f6c9c7097f12fd1d64e (patch)
tree561546ada442b0fb9df166723d601b1587d3f6b0 /tools/perf/scripts/python
parent9f00edaef8a8741a2d5333676fe9aa23a2a3d2be (diff)
[media] v4l: Share code between video_usercopy and video_ioctl2
The two functions are mostly identical. They handle the copy_from_user and copy_to_user operations related with V4L2 ioctls and call the real ioctl handler. Create a __video_usercopy function that implements the core of video_usercopy and video_ioctl2, and call that function from both. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions