linux_dsm_epyc7002/sound/firewire/oxfw
Dan Carpenter 5580ba7bf6 ALSA: oxfw: some signedness bugs
This code tends to use unsigned variables by default and it causes
signedness bugs when we use negative variables for error handling.
The "i" and "j" variables are used to iterated over small positive
values and so they should be type "int".  The "len" variable doesn't
*need* to be signed but it should be signed to make the code easier to
read and audit.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-12-15 10:03:21 +01:00
..
Makefile ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-command.c ALSA: oxfw: Add support for AV/C stream format command to get/set supported stream formation 2014-12-10 10:47:09 +01:00
oxfw-control.c ALSA: oxfw: Split control functionality to a new file 2014-11-29 20:22:37 +01:00
oxfw-hwdep.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-midi.c ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00
oxfw-pcm.c ALSA: oxfw: some signedness bugs 2014-12-15 10:03:21 +01:00
oxfw-proc.c ALSA: oxfw: some signedness bugs 2014-12-15 10:03:21 +01:00
oxfw-stream.c ALSA: oxfw: some signedness bugs 2014-12-15 10:03:21 +01:00
oxfw.c ALSA: oxfw: fix detect_loud_models() return value 2014-12-14 16:04:50 +01:00
oxfw.h ALSA: oxfw: Add hwdep interface 2014-12-10 10:50:00 +01:00