[alsa-devel] [PATCH] ASoC: sirf-audio-codec: Fix return value check in sirf_audio_codec_driver_probe()
Mark Brown
broonie at kernel.org
Thu Jul 31 22:22:31 CEST 2014
On Wed, Jul 30, 2014 at 08:04:12AM +0800, weiyj_lk at 163.com wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> In case of error, the function devm_ioremap_resource() 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: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140731/87729e18/attachment.sig>
More information about the Alsa-devel
mailing list