]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: riptide: postfix increment and off by one
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 13 May 2009 18:44:07 +0000 (20:44 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 May 2009 06:41:40 +0000 (08:41 +0200)
commitb57e1642029f3e882cdad2a602058e7e9e4e8bfa
treeb1e9ee0cc5d8132078a5d5557e1292d0049fb5aa
parent867602655e4e4ccde77e01276fee7477122ba14f
ALSA: riptide: postfix increment and off by one

With a postfix increment these variables are incremented beyond
CMDIF_TIMEOUT / MAX_WRITE_RETRY.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/riptide/riptide.c