[alsa-devel] [PATCH] ASoC: core: use PTR_ERR instead of PTR_RET

Mark Brown broonie at kernel.org
Fri Apr 18 18:20:06 CEST 2014

On Tue, Apr 15, 2014 at 10:39:01PM +0200, Christoph Jaeger wrote:
> PTR_RET is deprecated. PTR_ERR_OR_ZERO should be used instead. However,
> we already know that IS_ERR is true, and thus PTR_ERR_OR_ZERO would
> never yield zero, so we can use PTR_ERR here.

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/20140418/8330ef9c/attachment.sig>

More information about the Alsa-devel mailing list