summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gvp11.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2019-02-08 11:17:48 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-18 15:32:14 -0500
commit8dd22b289c8fab1dcb13ab038c0228aa74f134ca (patch)
tree12ba39a1cefb906a11e5ae7b858fb2f493ad700d /drivers/scsi/gvp11.c
parent29701c3612fa025d5e8dc64c7a4ae8dc4763912e (diff)
downloadlinux-8dd22b289c8fab1dcb13ab038c0228aa74f134ca.tar.gz
linux-8dd22b289c8fab1dcb13ab038c0228aa74f134ca.tar.bz2
linux-8dd22b289c8fab1dcb13ab038c0228aa74f134ca.zip
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 'drivers/scsi/gvp11.c')
0 files changed, 0 insertions, 0 deletions