diff options
| author | Ezequiel Garcia <ezequiel@collabora.com> | 2019-02-08 19:17:48 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-02-18 23:32:14 +0300 |
| commit | 8dd22b289c8fab1dcb13ab038c0228aa74f134ca (patch) | |
| tree | 12ba39a1cefb906a11e5ae7b858fb2f493ad700d /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 29701c3612fa025d5e8dc64c7a4ae8dc4763912e (diff) | |
| download | linux-8dd22b289c8fab1dcb13ab038c0228aa74f134ca.tar.xz | |
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 <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: clean up line-too-long checkpatch warnings]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
