aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2023-12-05 14:06:31 +0100
committerDmitry Baryshkov <[email protected]>2023-12-07 12:29:17 +0200
commit76385d493c2137460ee7735a5d3a494099c35188 (patch)
tree7cd24078f3791888bf6af6cbf01e21711e417950 /tools/perf/scripts/python/gecko.py
parent812cc1da7ffd9e178ef66b8a22113be10fba466c (diff)
drm/debugfs: fix potential NULL pointer dereference
encoder->funcs entry might be NULL, so check it first before calling its methods. This fixes NULL pointer dereference observed on Rasberry Pi 3b/4b boards. Fixes: caf525ed45b4 ("drm/encoder: register per-encoder debugfs dir") Signed-off-by: Marek Szyprowski <[email protected]> Tested-by: Nishanth Menon <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions