[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130302035825.GG6610@opensource.wolfsonmicro.com>
Date: Sat, 2 Mar 2013 11:58:28 +0800
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: eric.y.miao@...il.com, linux@....linux.org.uk,
haojian.zhuang@...il.com, grant.likely@...retlab.ca,
yongjun_wei@...ndmicro.com.cn,
linux-arm-kernel@...ts.infradead.org,
spi-devel-general@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] spi: fix return value check in ce4100_spi_probe()
On Fri, Feb 22, 2013 at 10:52:35AM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function platform_device_register_full()
> returns ERR_PTR() and never returns NULL. The NULL test in the
> return value check should be replaced with IS_ERR().
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists