diff options
author | 2023-10-12 15:45:19 +0800 | |
---|---|---|
committer | 2023-10-13 11:33:22 +0200 | |
commit | 554df753a684ffef5be83aa8cbb35adaf6240bf3 (patch) | |
tree | 34df0e6da8f4b706411140bee6a57a39b82f3c79 /scripts/generate_rust_analyzer.py | |
parent | media: platform: mtk-mdp3: fix uninitialized variable in mdp_path_config() (diff) | |
download | linux-rng-554df753a684ffef5be83aa8cbb35adaf6240bf3.tar.xz linux-rng-554df753a684ffef5be83aa8cbb35adaf6240bf3.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions