aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2019-02-08 11:17:48 -0500
committerMauro Carvalho Chehab <[email protected]>2019-02-18 15:32:14 -0500
commit8dd22b289c8fab1dcb13ab038c0228aa74f134ca (patch)
tree12ba39a1cefb906a11e5ae7b858fb2f493ad700d /tools/perf/scripts/python
parent29701c3612fa025d5e8dc64c7a4ae8dc4763912e (diff)
media: v4l2-mem2mem: Correct return type for mem2mem buffer helpers
This commit changes the return type of mem2mem buffer handling API. Namely, these functions: v4l2_m2m_next_buf v4l2_m2m_last_buf v4l2_m2m_buf_remove v4l2_m2m_next_src_buf v4l2_m2m_next_dst_buf v4l2_m2m_last_src_buf v4l2_m2m_last_dst_buf v4l2_m2m_src_buf_remove v4l2_m2m_dst_buf_remove which currently return void pointer. In every case, the actual return type is a struct vb2_v4l2_buffer pointer. Change the return type of the listed functions, so type checking can be properly used. Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> [[email protected]: clean up line-too-long checkpatch warnings] Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions