[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131209101925.GE12675@lee--X1>
Date: Mon, 9 Dec 2013 10:19:25 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: sameo@...ux.intel.com, yongjun_wei@...ndmicro.com.cn,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] mfd: sta2x11-mfd: fix return value check in
sta2x11_mfd_platform_probe()
On Sat, 07 Dec 2013, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function devm_regmap_init_mmio() returns
> ERR_PTR() and never returns NULL. The NULL test in the return
> value check should be replaced with IS_ERR().
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> ---
> drivers/mfd/sta2x11-mfd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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