[alsa-devel] [PATCH] ASoC: Samsung: I2S: fix return value check in i2s_alloc_dai()

Mark Brown broonie at kernel.org
Fri Oct 25 11:26:30 CEST 2013

On Fri, Oct 25, 2013 at 05:06:24PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> In case of error, the function platform_device_alloc() 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/20131025/56021175/attachment.sig>

More information about the Alsa-devel mailing list