[alsa-devel] [PATCH -next] ASoC: Intel: fix return value check in sst_acpi_probe()

Mark Brown broonie at kernel.org
Mon Dec 15 19:21:49 CET 2014


On Tue, Dec 09, 2014 at 09:14:37PM +0800, weiyj_lk at 163.com wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> In case of error, the function platform_device_register_data()
> returns ERR_PTR() and never returns NULL. The NULL test in the
> return value check should be replaced with IS_ERR().

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20141215/6cf715ea/attachment.sig>


More information about the Alsa-devel mailing list