On Thu, Aug 13, 2026 at 10:09:47AM +0300, Dan Carpenter wrote:
> This is supposed to print the error code but there is a copy and
> paste bug so it prints "bo" instead of "err".
> 
> Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
> Signed-off-by: Dan Carpenter <[email protected]>

pushed, thanks for the fix

> ---
>  drivers/gpu/drm/xe/tests/xe_migrate.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/xe/tests/xe_migrate.c 
> b/drivers/gpu/drm/xe/tests/xe_migrate.c
> index 3c1be809be82..f10d9513747b 100644
> --- a/drivers/gpu/drm/xe/tests/xe_migrate.c
> +++ b/drivers/gpu/drm/xe/tests/xe_migrate.c
> @@ -198,8 +198,7 @@ static void xe_migrate_sanity_test(struct xe_migrate *m, 
> struct kunit *test,
>  
>       err = xe_bo_vmap(bo);
>       if (err) {
> -             KUNIT_FAIL(test, "Failed to vmap our pagetables: %li\n",
> -                        PTR_ERR(bo));
> +             KUNIT_FAIL(test, "Failed to vmap our pagetables: %d\n", err);
>               return;
>       }
>  
> -- 
> 2.53.0
> 

Reply via email to