Re: [PATCH 1/2] drm/panthor: Don't check the array stride on empty uobj arrays

2024-07-01 Thread Steven Price
On 28/06/2024 15:55, Boris Brezillon wrote: > The user is likely to leave all the drm_panthor_obj_array fields > to zero when the array is empty, which will cause an EINVAL failure. > > Fixes: 4bdca1150792 ("drm/panthor: Add the driver frontend block") > Signed-off-by: Boris Brezillon Reviewed-b

Re: [PATCH 1/2] drm/panthor: Don't check the array stride on empty uobj arrays

2024-06-28 Thread Liviu Dudau
On Fri, Jun 28, 2024 at 04:55:35PM +0200, Boris Brezillon wrote: > The user is likely to leave all the drm_panthor_obj_array fields > to zero when the array is empty, which will cause an EINVAL failure. > > Fixes: 4bdca1150792 ("drm/panthor: Add the driver frontend block") > Signed-off-by: Boris B

[PATCH 1/2] drm/panthor: Don't check the array stride on empty uobj arrays

2024-06-28 Thread Boris Brezillon
The user is likely to leave all the drm_panthor_obj_array fields to zero when the array is empty, which will cause an EINVAL failure. Fixes: 4bdca1150792 ("drm/panthor: Add the driver frontend block") Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panthor/panthor_drv.c | 6 +++--- 1 file cha