diff options
author | Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com> | 2023-09-11 15:03:24 +0200 |
---|---|---|
committer | Maíra Canal <mairacanal@riseup.net> | 2023-09-15 11:39:48 -0300 |
commit | 2ba157983974ae1b6aaef7d4953812020d6f1eb5 (patch) | |
tree | ad56d1b98656d3dfe39c44f86fba37832c512226 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 139a27854bf5ce93ff9805f9f7683b88c13074dc (diff) |
drm/tests: Fix incorrect argument in drm_test_mm_insert_range
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: fc8d29e298cf ("drm: selftest: convert drm_mm selftest to KUnit")
Signed-off-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Cc: "Maíra Canal" <mairacanal@riseup.net>
Cc: Arthur Grillo <arthurgrillo@riseup.net>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Daniel Latypov <dlatypov@google.com>
Cc: stable@vger.kernel.org # v6.1+
Reviewed-by: Maíra Canal <mairacanal@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230911130323.7037-2-janusz.krzysztofik@linux.intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions