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@xxxxxxxxx> > Fixes: 2320175feb74 ("drm/i915: Implement HDCP for HDMI") > Cc: Ramalingam C <ramalingam.c@xxxxxxxxx> > Cc: Sean Paul <seanpaul@xxxxxxxxxxxx> > Cc: Jani Nikula <jani.nikula@xxxxxxxxxxxxxxx> > Cc: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> # v4.17+ > Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx> Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris