From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx157.postini.com [74.125.245.157]) by kanga.kvack.org (Postfix) with SMTP id 802DC6B004F for ; Thu, 26 Jan 2012 06:36:44 -0500 (EST) Received: by wgbdt12 with SMTP id dt12so367887wgb.26 for ; Thu, 26 Jan 2012 03:36:42 -0800 (PST) Date: Thu, 26 Jan 2012 12:36:43 +0100 From: Daniel Vetter Subject: Re: [Linaro-mm-sig] [PATCH 4/4] dma-buf: Move code out of mutex-protected section in dma_buf_attach() Message-ID: <20120126113643.GG3896@phenom.ffwll.local> References: <1327577245-20354-1-git-send-email-laurent.pinchart@ideasonboard.com> <1327577245-20354-5-git-send-email-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1327577245-20354-5-git-send-email-laurent.pinchart@ideasonboard.com> Sender: owner-linux-mm@kvack.org List-ID: To: Laurent Pinchart Cc: Sumit Semwal , linaro-mm-sig@lists.linaro.org, linux-mm@kvack.org On Thu, Jan 26, 2012 at 12:27:25PM +0100, Laurent Pinchart wrote: > Some fields can be set without mutex protection. Initialize them before > locking the mutex. > > Signed-off-by: Laurent Pinchart Reviewed-by: Daniel Vetter -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org