Messages in this thread | | | Date | Mon, 4 Nov 2013 12:50:44 +0100 | Subject | Re: [PATCH -next] pinctrl: imx1: fix return value check in imx1_pinctrl_core_probe() | From | Linus Walleij <> |
| |
On Thu, Oct 31, 2013 at 8:51 AM, Wei Yongjun <weiyj.lk@gmail.com> wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn> > > In case of error, the function devm_ioremap_nocache() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. > > Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Patch applied.
I don't know why I miss such things during review all the time :-(
Anyway it is great that you fix it up!
Yours, Linus Walleij
| |