Re: [PATCH v2] fixup: gpu/drm/nouveau: enable THP support for GPU memory migration
From: David Hildenbrand (Red Hat)
Date: Mon Nov 17 2025 - 08:02:12 EST
On 15.11.25 01:33, Balbir Singh wrote:
Kernel test robot, reported a sparse error with the patch
The sparse report states:
drivers/gpu/drm/nouveau/nouveau_dmem.c:259:13: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted vm_fault_t [assigned] [usertype] ret @@ got int @@
drivers/gpu/drm/nouveau/nouveau_dmem.c:259:13: sparse: expected restricted vm_fault_t [assigned] [usertype] ret
drivers/gpu/drm/nouveau/nouveau_dmem.c:259:13: sparse: got int
I would have simplified that to (and avoided the long line)
"The kernel test robot reports a sparse warning "expected restricted
vm_fault_t [assigned] [usertype] ret ... got int."
Whoever applies that can massage it I am sure.
Acked-by: David Hildenbrand (Red Hat) <david@xxxxxxxxxx>
--
Cheers
David