Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1299428

Re: [PATCH v2] ASoC: rsnd: fix usrcnt decrementing bug

From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ASoC: rsnd: fix usrcnt decrementing bug
Date 2015-12-30 18:20 +0100
Message-ID <qLszL-12e-3@gated-at.bofh.it> (permalink)
References <qJ8ca-3FB-11@gated-at.bofh.it> <qJ8ca-3FB-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] ASoC: rsnd: fix usrcnt decrementing bug Andrzej Hajda <a.hajda@samsung.com> - 2015-12-24 08:10 +0100
  Re: [PATCH v2] ASoC: rsnd: fix usrcnt decrementing bug Mark Brown <broonie@kernel.org> - 2015-12-30 18:20 +0100

csiph-web