diff options
| author | Ma Ke <[email protected]> | 2023-10-12 07:45:19 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-10-13 09:33:22 +0000 |
| commit | 554df753a684ffef5be83aa8cbb35adaf6240bf3 (patch) | |
| tree | 34df0e6da8f4b706411140bee6a57a39b82f3c79 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | media: platform: mtk-mdp3: fix uninitialized variable in mdp_path_config() (diff) | |
| download | kernel-554df753a684ffef5be83aa8cbb35adaf6240bf3.tar.gz kernel-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 <[email protected]>
Acked-by: Tomasz Figa <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
