diff options
author | Ma Ke <make_ruc2021@163.com> | 2023-10-03 17:13:15 +0800 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-10-13 11:33:22 +0200 |
commit | feec1b29d7a81be3c1a0a0865eed67d05d4089c9 (patch) | |
tree | 093f969704ca90997cf1949c617bd7f56b04e3c6 /tools/perf/scripts/python/sched-migration.py | |
parent | be521bf7bfad4e4bd4c3e1d2853aeb563a1e51d6 (diff) |
media: videobuf2: Fix IS_ERR checking in vb2_vmalloc_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>
[hverkuil: add space between ){]
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions