From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Don't call sg_free_table() if sg_alloc_table() fails Date: Mon, 2 Sep 2013 08:23:27 +0200 Message-ID: <20130902062327.GJ9374@phenom.ffwll.local> References: <1377873566-15793-1-git-send-email-damien.lespiau@intel.com> <20130830160055.GO4726@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f177.google.com (mail-ea0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id B1121E6052 for ; Sun, 1 Sep 2013 23:23:13 -0700 (PDT) Received: by mail-ea0-f177.google.com with SMTP id f15so2098983eak.22 for ; Sun, 01 Sep 2013 23:23:12 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130830160055.GO4726@nuc-i3427.alporthouse.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: Chris Wilson , Damien Lespiau , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Aug 30, 2013 at 05:00:55PM +0100, Chris Wilson wrote: > 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 Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch