[Intel-xe] ✗ CI.checkpatch: warning for drm/tests: Fix incorrect argument in drm_test_mm_insert_range
Patchwork
patchwork at emeril.freedesktop.org
Mon Sep 11 13:50:37 UTC 2023
== Series Details ==
Series: drm/tests: Fix incorrect argument in drm_test_mm_insert_range
URL : https://patchwork.freedesktop.org/series/123542/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
63c2b6b160bca2df6efc7bc4cea6f442097d7854
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 377c31ab02b646ffe65e7b049f378fa86d2e6e89
Author: Janusz Krzysztofik <janusz.krzysztofik at linux.intel.com>
Date: Mon Sep 11 15:03:24 2023 +0200
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 at linux.intel.com>
Cc: "Maíra Canal" <mairacanal at riseup.net>
Cc: Arthur Grillo <arthurgrillo at riseup.net>
Cc: Javier Martinez Canillas <javierm at redhat.com>
Cc: Daniel Latypov <dlatypov at google.com>
Cc: stable at vger.kernel.org # v6.1+
+ /mt/dim checkpatch 0533b5d42b2f8ec916646c10715ac45215e87689 drm-intel
377c31ab0 drm/tests: Fix incorrect argument in drm_test_mm_insert_range
-:15: WARNING:UNKNOWN_COMMIT_ID: Unknown commit id 'fc8d29e298cf', maybe rebased or not pulled?
#15:
Fixes: fc8d29e298cf ("drm: selftest: convert drm_mm selftest to KUnit")
total: 0 errors, 1 warnings, 0 checks, 8 lines checked
More information about the Intel-xe
mailing list