From: Mika Westerberg Date: Thu, 28 Apr 2016 10:55:14 +0000 Subject: Re: [patch] pinctrl: baytrail: fix some error handling in debugfs Message-Id: <20160428105514.GH10202@lahna.fi.intel.com> List-Id: References: <20160427080835.GB22469@mwanda> In-Reply-To: <20160427080835.GB22469@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Cristina Ciocan , Heikki Krogerus , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org On Wed, Apr 27, 2016 at 11:08:35AM +0300, Dan Carpenter wrote: > We need to unlock before continuing. Also the continue was accidentally > left out on one error path which would lead to a NULL dereference. > > Fixes: 86e3ef812fe3 ('pinctrl: baytrail: Update gpio chip operations') > Signed-off-by: Dan Carpenter Good catch! Acked-by: Mika Westerberg