[ALSA] sound/core/: fix 3 off-by-one errors
commit2b12669873c4e2a5b2f9d4ccc84653832b06c2ff
authorAdrian Bunk <bunk@stusta.de>
Thu, 14 Dec 2006 23:24:31 +0000 (15 00:24 +0100)
committerAdrian Bunk <bunk@stusta.de>
Thu, 14 Dec 2006 23:24:31 +0000 (15 00:24 +0100)
tree305862ece6a74e2b8b00c9b9a331ac59f7df361f
parentbbd75502c59f723ef672861339aa80a1b5cdb658
[ALSA] sound/core/: fix 3 off-by-one errors

This patch fixes three off-by-one errors found by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
sound/core/sound.c
sound/core/sound_oss.c