[alsa-devel] [PATCH] ASoC: fsl_spdif: fix return value check in fsl_spdif_probe()

Mark Brown broonie at kernel.org
Sat Oct 26 22:34:12 CEST 2013


On Fri, Oct 25, 2013 at 05:29:25PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> In case of error, the function platform_get_resource() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.

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


More information about the Alsa-devel mailing list