linux/drivers/media/common/videobuf2
Ma Ke 554df753a6 media: videobuf2: Fix IS_ERR checking in vb2_dc_put_userptr()
In order to avoid error pointers from frame_vector_pages(), we could
use IS_ERR() to check the return value to fix this. This checking
operation could make sure that vector contains pages.

Signed-off-by: Ma Ke <make_ruc2021@163.com>
Acked-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2023-10-13 11:33:22 +02:00
..
frame_vector.c media: use struct_size() helper 2023-09-27 09:40:01 +02:00
Kconfig media: videobuf2: Move frame_vector into media subsystem 2021-01-12 14:15:31 +01:00
Makefile media: Makefiles: sort entries where it fits 2022-03-14 09:42:59 +01:00
vb2-trace.c media: videobuf2: fix build issues with vb2-trace 2018-02-23 05:13:53 -05:00
videobuf2-core.c media: videobuf2: fix typo: vb2_dbuf -> vb2_qbuf 2023-09-27 09:39:55 +02:00
videobuf2-dma-contig.c media: videobuf2: Fix IS_ERR checking in vb2_dc_put_userptr() 2023-10-13 11:33:22 +02:00
videobuf2-dma-sg.c media: videobuf2: Don't assert held reservation lock for dma-buf mmapping 2023-06-21 20:22:20 +03:00
videobuf2-dvb.c media: vb2: videobuf -> videobuf2 2022-08-29 15:38:09 +02:00
videobuf2-memops.c media: videobuf2: revert "get_userptr: buffers are always writable" 2022-12-06 07:14:31 +00:00
videobuf2-v4l2.c media: vb2: set owner before calling vb2_read 2023-03-19 22:09:55 +01:00
videobuf2-vmalloc.c media: videobuf2: Fix IS_ERR checking in vb2_vmalloc_put_userptr() 2023-10-13 11:33:22 +02:00