Re: [PATCH next] drm/xe: Fix an IS_ERR() vs NULL bug in xe_tile_alloc_vram()

2025-07-21 Thread Rodrigo Vivi
On Fri, Jul 18, 2025 at 04:23:05PM -0500, Dan Carpenter wrote: > The xe_vram_region_alloc() function returns NULL on error. It never > returns error pointers. Update the error checking to match. > > Fixes: 4b0a5f5ce784 ("drm/xe: Unify the initialization of VRAM regions") > Signed-off-by: Dan Car

[PATCH next] drm/xe: Fix an IS_ERR() vs NULL bug in xe_tile_alloc_vram()

2025-07-18 Thread Dan Carpenter
The xe_vram_region_alloc() function returns NULL on error. It never returns error pointers. Update the error checking to match. Fixes: 4b0a5f5ce784 ("drm/xe: Unify the initialization of VRAM regions") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/xe/xe_tile.c | 4 ++-- 1 file changed, 2 ins