aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-11-30 03:52:26 +0200
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>2024-12-05 14:36:00 +0200
commitd3314efd6ebf335a3682b1d6b1b81cdab3d8254a (patch)
tree2fe432e15863daf552730ef95ce390111d31b531 /tools/perf/scripts/python/flamegraph.py
parentdrm: remove driver date from struct drm_driver and all drivers (diff)
downloadlinux-d3314efd6ebf335a3682b1d6b1b81cdab3d8254a.tar.gz
linux-d3314efd6ebf335a3682b1d6b1b81cdab3d8254a.zip
drm/tests: hdmi: handle empty modes in find_preferred_mode()
If the connector->modes list is empty, then list_first_entry() returns a bogus entry. Change that to use list_first_entry_or_null(). Reviewed-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20241130-hdmi-mode-valid-v5-1-742644ec3b1f@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions