mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 01:13:11 +00:00
While drm_mm test was converted form igt selftest to kunit, unexpected
value of "end" argument equal "start" was introduced to one of calls to a
function that executes the drm_test_mm_insert_range for specific start/end
pair of arguments. As a consequence, DRM_MM_BUG_ON(end <= start) is
triggered. Fix it by restoring the original value.
Fixes: fc8d29e298 ("drm: selftest: convert drm_mm selftest to KUnit")
Signed-off-by: Janusz Krzysztofik <[email protected]>
Cc: "Maíra Canal" <[email protected]>
Cc: Arthur Grillo <[email protected]>
Cc: Javier Martinez Canillas <[email protected]>
Cc: Daniel Latypov <[email protected]>
Cc: [email protected] # v6.1+
Reviewed-by: Maíra Canal <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]