summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-04-22 06:22:27 +0300
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2022-05-02 02:39:34 +0300
commita36e506711548df923ceb7ec9f6001375be799a5 (patch)
tree04fda7e4d9814fa3b0010aec9cf6f92b1e176b96 /tools/perf/scripts/python/export-to-postgresql.py
parentf0e7e9ed379c012c4d6b09a09b868accc426223c (diff)
downloadlinux-a36e506711548df923ceb7ec9f6001375be799a5.tar.xz
drm/msm/hdmi: check return value after calling platform_get_resource_byname()
It will cause null-ptr-deref if platform_get_resource_byname() returns NULL, we need check the return value. Fixes: c6a57a50ad56 ("drm/msm/hdmi: add hdmi hdcp support (V3)") Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/482992/ Link: https://lore.kernel.org/r/20220422032227.2991553-1-yangyingliang@huawei.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions