[Intel-gfx] [PATCH] drm/i915/uc: Fix double free bug

2022-12-01 Thread Dan Carpenter
The "fw" pointer is freed again in the clean up code at the end of the function. Set it to NULL here to prevent a double free. Fixes: 016241168dc5 ("drm/i915/uc: use different ggtt pin offsets for uc loads") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 1 + 1 file

Re: [Intel-gfx] [PATCH] drm/i915/uc: Fix double free bug

2022-11-29 Thread Ceraolo Spurio, Daniele
On 11/29/2022 1:45 AM, Dan Carpenter wrote: The "fw" pointer is freed again in the clean up code at the end of the function. Set it to NULL here to prevent a double free. Fixes: 016241168dc5 ("drm/i915/uc: use different ggtt pin offsets for uc loads") Signed-off-by: Dan Carpenter This sho