On Thu, Aug 23, 2018 at 11:25:42PM +0100, Chris Wilson wrote:
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@intel.com Fixes: 2320175feb74 ("drm/i915: Implement HDCP for HDMI") Cc: Ramalingam C ramalingam.c@intel.com Cc: Sean Paul seanpaul@chromium.org Cc: Jani Nikula jani.nikula@linux.intel.com Cc: Rodrigo Vivi rodrigo.vivi@intel.com Cc: stable@vger.kernel.org # v4.17+ Signed-off-by: Rodrigo Vivi rodrigo.vivi@intel.com
Reviewed-by: Chris Wilson chris@chris-wilson.co.uk
thanks. pushed to dinq.
-Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx