[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaOXSp_Nq68YOwUp+FoH=qA0gXwWc1VrO=BUVhVnHF=jw@mail.gmail.com>
Date: Thu, 27 Jun 2013 12:29:46 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Wei Yongjun <weiyj.lk@...il.com>, Mark Brown <broonie@...nel.org>
Cc: Grant Likely <grant.likely@...aro.org>,
Rob Herring <rob.herring@...xeda.com>,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"devicetree-discuss@...ts.ozlabs.org"
<devicetree-discuss@...ts.ozlabs.org>,
Srinivas Kandagatla <srinivas.kandagatla@...com>
Subject: Re: [PATCH -next] pinctrl: st: fix return value check
On Wed, Jun 26, 2013 at 6:30 PM, Wei Yongjun <weiyj.lk@...il.com> wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function pinctrl_register() returns
> NULL not ERR_PTR(). The IS_ERR() test in the return value
> check should be replaced with NULL test.
> The function syscon_regmap_lookup_by_phandle() 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>
This driver is merged into Mark Brown's regmap tree and need
to be applied as a fix there.
Pls resend it if Mark has not recieved it.
Include Srinivas on patches so he can ACK them.
Yours,
Linus Walleij
--
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