summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2025-04-03 16:33:30 +0300
committerMaxime Ripard <mripard@kernel.org>2025-04-07 11:29:43 +0300
commit9e26a3740cc08ef8bcdc5e5d824792cd677affce (patch)
tree87a0b5ee12c7187558e8fbeaebd68f77ef74fa9f /tools/perf/scripts/python/export-to-postgresql.py
parent03c14f97544f6e035f318b1a60446a12d88db8b4 (diff)
downloadlinux-9e26a3740cc08ef8bcdc5e5d824792cd677affce.tar.xz
drm/vc4: tests: Use return instead of assert
The vc4_mock_atomic_add_output() and vc4_mock_atomic_del_output() assert that the functions they are calling didn't fail. Since some of them can return EDEADLK, we can't properly deal with it. Since both functions are expected to return an int, and all caller check the return value, let's just properly propagate the errors when they occur. Fixes: f759f5b53f1c ("drm/vc4: tests: Introduce a mocking infrastructure") Fixes: 76ec18dc5afa ("drm/vc4: tests: Add unit test suite for the PV muxing") Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com> Link: https://lore.kernel.org/r/20250403-drm-vc4-kunit-failures-v2-1-e09195cc8840@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions