Subject: [patch] mfd: ab8500-debugfs: move dereference after check for NULL

From: [email-masked] (Lee Jones)
Date: Tue, 19 Nov 2013 08:24:10 +0000

On Tue, 19 Nov 2013, Linus Walleij wrote:

> On Wed, Nov 13, 2013 at 8:40 AM, Dan Carpenter <[email-masked]> wrote:
> 
> > We dereference "desc" before check if it is NULL.  I've shifted it
> > around so we check first before dereferencing.
> >
> > Signed-off-by: Dan Carpenter <[email-masked]>
> > ---
> > I am not able to compile this.
> 
> Looks and compiles good.
> Tested-by: Linus Walleij <[email-masked]>
> 
> Lee are you queueing this?

This one slipped through the net, thanks for bringing it to my attention.

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog