[Intel-gfx] [PATCH 1/1] drm/i915: Do not use kfree() to free kmem_cache_alloc() return value

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 4 20:54:17 UTC 2018


Quoting Xidong Wang (2018-04-04 08:37:54)
> In eb_lookup_vmas(), the return value of kmem_cache_alloc() is freed
> with kfree(). I think the expected paired function is kmem_cahce_free().
> 
> Signed-off-by: Xidong Wang <wangxidong_97 at 163.com>

Thank you for the fix; applied.
-Chris


More information about the Intel-gfx mailing list