aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-04-17 09:28:20 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-24 17:12:11 -0300
commit85ac1a1772bb41da895bad83a81f6a62c8f293f6 (patch)
treed491a04c51f663061fb9f7c968e2dbb1351e18fb /tools/perf/scripts/python/call-graph-from-postgresql.py
parent[media] v4l: subdev: Move [gs]_std operation to video ops (diff)
downloadlinux-dev-85ac1a1772bb41da895bad83a81f6a62c8f293f6.tar.xz
linux-dev-85ac1a1772bb41da895bad83a81f6a62c8f293f6.zip
[media] media: stk1160: Avoid stack-allocated buffer for control URBs
Currently stk1160_read_reg() uses a stack-allocated char to get the read control value. This is wrong because usb_control_msg() requires a kmalloc-ed buffer. This commit fixes such issue by kmalloc'ating a 1-byte buffer to receive the read value. While here, let's remove the urb_buf array which was meant for a similar purpose, but never really used. Cc: Alan Stern <stern@rowland.harvard.edu> Reported-by: Sander Eikelenboom <linux@eikelenboom.it> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: stable@vger.kernel.org # for v3.7 and up Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions