b0cc58a25d
The original code doesn't take into consideration that the value of MIXART_BA0_SIZE - pos can be less than zero which would lead to a large unsigned value for "count". Also I moved the check that read size is a multiple of 4 bytes below the code that adjusts "count". Signed-off-by: Dan Carpenter <error27@gmail.com> Cc: <stable@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
Makefile | ||
mixart.c | ||
mixart.h | ||
mixart_core.c | ||
mixart_core.h | ||
mixart_hwdep.c | ||
mixart_hwdep.h | ||
mixart_mixer.c | ||
mixart_mixer.h |