[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121202234742.GZ3176@sortiz-mobl>
Date: Mon, 3 Dec 2012 00:47:42 +0100
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: yongjun_wei@...ndmicro.com.cn, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] mfd: sta2x11-mfd: fix potential NULL pointer
dereference in __sta2x11_mfd_mask()
Hi Wei,
On Sun, Dec 02, 2012 at 08:36:22AM -0500, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> The dereference to 'mfd' should be moved below the NULL test.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> ---
> drivers/mfd/sta2x11-mfd.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Patch applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists