[alsa-devel] [PATCH v2] ASoC: rsnd: fix usrcnt decrementing bug

Mark Brown broonie at kernel.org
Wed Dec 30 18:12:57 CET 2015


On Thu, Dec 24, 2015 at 08:02:39AM +0100, Andrzej Hajda wrote:
> Field usrcnt is unsigned so it cannot be lesser than zero.
> The patch fixes the check, moves it to the beginning of the function
> and changes return value to -EIO in case of usercnt error.

Please don't send new patches in reply to old ones, it makes it hard to
figure out what the current version of things is.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151230/ec145f0b/attachment.sig>


More information about the Alsa-devel mailing list