summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorDave Stevenson <dave.stevenson@raspberrypi.org>2019-06-29 22:31:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-01 10:10:19 +0300
commit1029e7a71e51ebd6bd01f973b427c95634401f15 (patch)
treef0809bc21f04409eca80d315ec38b002f0bf8c10 /tools/perf/scripts/python/intel-pt-events.py
parenteb3539767a358129c20e536774eb1fa67b46ac27 (diff)
downloadlinux-1029e7a71e51ebd6bd01f973b427c95634401f15.tar.xz
staging: bcm2835-camera: Add sanity checks for queue_setup/CREATE_BUFS
Fixes a v4l2-compliance failure when passed a buffer that is too small. queue_setup wasn't handling the case where *nplanes != 0, as used from CREATE_BUFS and requiring the driver to sanity check the provided buffer parameters. It was assuming that it was always being used in the REQBUFS case where it provides the buffer properties. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org> Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions