summaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorMa Ke <make_ruc2021@163.com>2023-10-12 10:45:19 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-10-13 12:33:22 +0300
commit554df753a684ffef5be83aa8cbb35adaf6240bf3 (patch)
tree34df0e6da8f4b706411140bee6a57a39b82f3c79 /net/unix/unix_bpf.c
parent2a76e7679b594ea3e1b3b7fb6c3d67158114020d (diff)
downloadlinux-554df753a684ffef5be83aa8cbb35adaf6240bf3.tar.xz
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>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions