summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 19:34:34 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 14:09:43 +0300
commit7dc866df40127dceac9ba83ae16c0c11e7d1666f (patch)
tree6a4e31af3cc57cd9c0bb44a76b6f38dc93ea355d /include/linux/module.h
parent53963fb12fd43176dff4b33d937fb7575b0bf4fb (diff)
downloadlinux-7dc866df40127dceac9ba83ae16c0c11e7d1666f.tar.xz
media: dvb-core: Use vb2_get_buffer() instead of directly access to buffers array
Use vb2_get_buffer() instead of direct access to the vb2_queue bufs array. This allows us to change the type of the bufs in the future. After each call to vb2_get_buffer() we need to be sure that we get a valid pointer so check the return value of all of them. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Reviewed-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/linux/module.h')
0 files changed, 0 insertions, 0 deletions