Re: [PATCH] drm/panthor: Fix IS_ERR() vs NULL bug in group_process_tiler_oom()

2024-04-02 Thread Harshit Mogalapalli
Hi, On 02/04/24 16:47, Harshit Mogalapalli wrote: panthor_vm_get_heap_pool() returns ERR_PTR on failure, update the check accordingly. Fixes: de8548813824 ("drm/panthor: Add the scheduler logical block") Signed-off-by: Harshit Mogalapalli --- This is based on static analysis with smatch, only

[PATCH] drm/panthor: Fix IS_ERR() vs NULL bug in group_process_tiler_oom()

2024-04-02 Thread Harshit Mogalapalli
panthor_vm_get_heap_pool() returns ERR_PTR on failure, update the check accordingly. Fixes: de8548813824 ("drm/panthor: Add the scheduler logical block") Signed-off-by: Harshit Mogalapalli --- This is based on static analysis with smatch, only compile tested. --- drivers/gpu/drm/panthor/panthor_