summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/task-analyzer-report
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2024-09-02 16:04:54 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-10-12 15:54:07 +0200
commitc780d01cf1a68182d515ea46a7c85746435a4004 (patch)
tree992bb6fbcf2cd3098e017b79fa5269f935d69322 /tools/perf/scripts/python/bin/task-analyzer-report
parent7e8ca483c0a96da6564bf7c57390e7c071fb5bae (diff)
downloadlinux-c780d01cf1a68182d515ea46a7c85746435a4004.tar.gz
linux-c780d01cf1a68182d515ea46a7c85746435a4004.zip
media: vb2: vb2_core_queue_init(): sanity check lock and wait_prepare/finish
Add two new checks: 1) wait_prepare and wait_finish callbacks are either both present or both unset, you can't mix. 2) if lock == NULL, then wait_prepare (and due to check 1 also wait_finish) must be present. These checks should prevent the case where lock == NULL, but there is no way to release/reacquire whatever lock is used when waiting for a buffer to arrive in VIDIOC_DQBUF. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-report')
0 files changed, 0 insertions, 0 deletions