[PATCH RESEND v2] drm/i915: Fix memory leak by correcting cache object name in error handler

Andi Shyti andi.shyti at linux.intel.com
Thu Nov 28 11:48:36 UTC 2024


Hi Jiasheng,

On Wed, Nov 27, 2024 at 08:10:42PM +0000, Jiasheng Jiang wrote:
> From: Jiasheng Jiang <jiashengjiangcool at outlook.com>
> 
> Replace "slab_priorities" with "slab_dependencies" in the error handler
> to avoid memory leak.
> 
> Fixes: 32eb6bcfdda9 ("drm/i915: Make request allocation caches global")
> Cc: <stable at vger.kernel.org> # v5.2+
> Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>
> Signed-off-by: Jiasheng Jiang <jiashengjiangcool at outlook.com>

Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

Thanks,
Andi


More information about the dri-devel mailing list