aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>2021-12-01 23:56:51 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-12-07 11:29:56 +0100
commitee1806beff85d4f1a3d7f22aa1bcdc8ffb59b36c (patch)
treea99697e624ecee03fa9cc12839e68c847dac5e9a /tools/perf/scripts/python/bin
parentmedia: replace setting of bytesused with vb2_set_plane_payload (diff)
downloadlinux-ee1806beff85d4f1a3d7f22aa1bcdc8ffb59b36c.tar.gz
linux-ee1806beff85d4f1a3d7f22aa1bcdc8ffb59b36c.zip
media: videobuf2: add WARN_ON_ONCE if bytesused is bigger than buffer length
In function vb2_set_plane_payload, report if the given bytesused is bigger than the buffer size, and clamp it to the buffer size. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> 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')
0 files changed, 0 insertions, 0 deletions