Messages in this thread | | | Date | Mon, 3 Dec 2012 00:47:42 +0100 | From | Samuel Ortiz <> | 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@trendmicro.com.cn> > > The dereference to 'mfd' should be moved below the NULL test. > > Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.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/
| |