Re: [PATCH] nouveau/u_memcpya: use vmemdup_user

2023-08-10 Thread Danilo Krummrich
On 8/10/23 20:50, Dave Airlie wrote: From: Dave Airlie I think there are limit checks in places for most things but the new api wants to not have them. Add a limit check and use the vmemdup_user helper instead. Reviewed-by: Danilo Krummrich Signed-off-by: Dave Airlie --- drivers/gpu/d

[PATCH] nouveau/u_memcpya: use vmemdup_user

2023-08-10 Thread Dave Airlie
From: Dave Airlie I think there are limit checks in places for most things but the new api wants to not have them. Add a limit check and use the vmemdup_user helper instead. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nouveau_drv.h | 19 +-- 1 file changed, 5 insert