From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: Don't call sg_free_table() if sg_alloc_table() fails Date: Fri, 30 Aug 2013 17:00:55 +0100 Message-ID: <20130830160055.GO4726@nuc-i3427.alporthouse.com> References: <1377873566-15793-1-git-send-email-damien.lespiau@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (s16502780.onlinehome-server.info [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id A237AE6266 for ; Fri, 30 Aug 2013 09:01:03 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1377873566-15793-1-git-send-email-damien.lespiau@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Damien Lespiau Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Aug 30, 2013 at 03:39:26PM +0100, Damien Lespiau wrote: > One needs to call __sg_free_table() if __sg_alloc_table() fails, but > sg_alloc_table() does that for us already. > > Signed-off-by: Damien Lespiau Reviewd-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre