Merge tag 'x86-asm-2024-03-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[linux-2.6-block.git] / drivers / gpu / drm / xe / tests / xe_migrate.c
index a6523df0f1d39fbe7f0354d404f95886a3d56424..c347e2c29f81f133c7766a5089811edb046b0085 100644 (file)
@@ -114,21 +114,21 @@ static void test_copy(struct xe_migrate *m, struct xe_bo *bo,
                                                   region |
                                                   XE_BO_NEEDS_CPU_ACCESS);
        if (IS_ERR(remote)) {
-               KUNIT_FAIL(test, "Failed to allocate remote bo for %s: %li\n",
-                          str, PTR_ERR(remote));
+               KUNIT_FAIL(test, "Failed to allocate remote bo for %s: %pe\n",
+                          str, remote);
                return;
        }
 
        err = xe_bo_validate(remote, NULL, false);
        if (err) {
-               KUNIT_FAIL(test, "Failed to validate system bo for %s: %li\n",
+               KUNIT_FAIL(test, "Failed to validate system bo for %s: %i\n",
                           str, err);
                goto out_unlock;
        }
 
        err = xe_bo_vmap(remote);
        if (err) {
-               KUNIT_FAIL(test, "Failed to vmap system bo for %s: %li\n",
+               KUNIT_FAIL(test, "Failed to vmap system bo for %s: %i\n",
                           str, err);
                goto out_unlock;
        }