From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Date: Sun, 11 Mar 2012 13:02:40 +0000 Subject: Re: [patch] spi: release lock on error path in spi_pump_messages() Message-Id: <20120311130240.2DB083E0892@localhost> List-Id: References: <20120310085729.GB4647@elgon.mountain> <4F5B2113.3060103@bfs.de> <20120311024307.AA5E33E0950@localhost> <20120311062059.GB3337@mwanda> In-Reply-To: <20120311062059.GB3337@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, wharms-fPG8STNUNVg@public.gmane.org On Sun, 11 Mar 2012 09:20:59 +0300, Dan Carpenter wrote: > On Sat, Mar 10, 2012 at 07:43:07PM -0700, Grant Likely wrote: > > On Sat, 10 Mar 2012 10:38:27 +0100, walter harms wrote: > > > hi Dan, > > > do you want to protect dev_err() by a spn_lock ? > > > > Applied, after moving unlock above the dev_err. > > > > Thanks. > > I was going to resend this with Walter's change btw. I wasn't going > to ignore his review comments. I assumed you would. It was just simpler for me to pick it up with the trivial change. g.