summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2017-06-15 02:18:28 +0300
committerThierry Reding <treding@nvidia.com>2017-06-15 15:17:21 +0300
commite0b2ce02108498e41e8956d29ea4c27f16dbf9e0 (patch)
treeafe334d4e5d5280b31e563605df95dae85061c4f /tools/perf/scripts/python/call-graph-from-postgresql.py
parentd0fbbdff2e19aabccc1107b7e12ab9f3cbf626ef (diff)
downloadlinux-e0b2ce02108498e41e8956d29ea4c27f16dbf9e0.tar.xz
drm/tegra: Check syncpoint ID in the 'submit' IOCTL
In case of invalid syncpoint ID, the host1x_syncpt_get() returns NULL and none of its users perform a check of the returned pointer later. Let's bail out until it's too late. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions