summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-01-25 11:45:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-01-26 01:48:02 +0300
commitd3abc78f4fd4b4b45b978ae42b5a9d82ee3b8864 (patch)
tree62c686945a6cc721ab4152607052cdddefd333ef /tools/perf/scripts/python/exported-sql-viewer.py
parent23a63e91c15557ff302b80cfc631c7749f4fb192 (diff)
downloadlinux-d3abc78f4fd4b4b45b978ae42b5a9d82ee3b8864.tar.xz
drm/amd/display: Fix a potential NULL dereference
The debug printk dereferences "link->link_enc" before we have ensured that it is non-NULL. Fix this potential NULL derefence by moving the printk after the check. Fixes: 64ff0882426e56 ("drm/amd/display: Log link/connector info provided in BIOS object table") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions