From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com ([192.55.52.43]:44762 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbeHXCWV (ORCPT ); Thu, 23 Aug 2018 22:22:21 -0400 Date: Thu, 23 Aug 2018 15:48:56 -0700 From: Rodrigo Vivi To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org, Sean Paul , stable@vger.kernel.org Subject: Re: [Intel-gfx] [PATCH] drm/i915: Free write_buf that we allocated with kzalloc. Message-ID: <20180823224856.GL2190@intel.com> References: <20180823205136.31310-1-rodrigo.vivi@intel.com> <153506314244.20928.14372256445570563760@skylake-alporthouse-com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <153506314244.20928.14372256445570563760@skylake-alporthouse-com> Sender: stable-owner@vger.kernel.org List-ID: 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 > > Fixes: 2320175feb74 ("drm/i915: Implement HDCP for HDMI") > > Cc: Ramalingam C > > Cc: Sean Paul > > Cc: Jani Nikula > > Cc: Rodrigo Vivi > > Cc: # v4.17+ > > Signed-off-by: Rodrigo Vivi > Reviewed-by: Chris Wilson thanks. pushed to dinq. > -Chris > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx