diff options
author | 2023-10-03 17:13:15 +0800 | |
---|---|---|
committer | 2023-10-13 11:33:22 +0200 | |
commit | feec1b29d7a81be3c1a0a0865eed67d05d4089c9 (patch) | |
tree | 093f969704ca90997cf1949c617bd7f56b04e3c6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | media: pci: cx18: if cx == NULL, then don't use it. (diff) | |
download | wireguard-linux-feec1b29d7a81be3c1a0a0865eed67d05d4089c9.tar.xz wireguard-linux-feec1b29d7a81be3c1a0a0865eed67d05d4089c9.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions