[alsa-devel] [PATCH] ASoC: sun4i-i2s: fix odd_ptr_err.cocci warnings

Mark Brown broonie at kernel.org
Wed Oct 5 13:38:53 CEST 2016


On Tue, Oct 04, 2016 at 06:23:24PM +0200, Julia Lawall wrote:
> sound/soc/sunxi/sun4i-i2s.c:633:5-11: inconsistent IS_ERR and PTR_ERR on line 635.
> 
>  PTR_ERR should normally access the value just tested by IS_ERR
> 
> Generated by: scripts/coccinelle/tests/odd_ptr_err.cocci

Looks like a good catch but this doesn't apply against current code,
please check and resend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20161005/d564e35a/attachment.sig>


More information about the Alsa-devel mailing list