Re: [PATCH] drm/nouveau: fix bad ret code in nouveau_bo_move_prep

From: Danilo Krummrich

Date: Tue Oct 07 2025 - 16:17:39 EST


On 10/7/25 6:17 PM, Shuhao Fu wrote:
> In `nouveau_bo_move_prep`, if `nouveau_mem_map` fails, an error code
> should be returned. Currently, it returns zero even if vmm addr is not
> correctly mapped.
>
> Signed-off-by: Shuhao Fu <sfual@xxxxxxxxxx>
> Fixes: 9ce523cc3bf2 ("drm/nouveau: separate buffer object backing memory from nvkm structures")
Applied to drm-misc-fixes, thanks!