[Intel-gfx] [PATCH] drm/i915: Free write_buf that we allocated with kzalloc.

Chris Wilson chris at chris-wilson.co.uk
Thu Aug 23 22:25:42 UTC 2018


Quoting Rodrigo Vivi (2018-08-23 21:51:36)
> We use kzalloc to allocate the write_buf that we use for
> i2c transfer on hdcp write. But it seems that we are forgetting
> to free the memory that is not needed after i2c transfer is
> completed.
> 
> Reported-by: Brian J Wood <brian.j.wood at intel.com>
> Fixes: 2320175feb74 ("drm/i915: Implement HDCP for HDMI")
> Cc: Ramalingam C <ramalingam.c at intel.com>
> Cc: Sean Paul <seanpaul at chromium.org>
> Cc: Jani Nikula <jani.nikula at linux.intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Cc: <stable at vger.kernel.org> # v4.17+
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list