Home
last modified time | relevance | path

Searched hist:"5580 ba7bf61a6047a8b95459a9ed893f01947737" (Results 1 – 3 of 3) sorted by relevance

/linux/sound/firewire/oxfw/
H A Doxfw-proc.cdiff 5580ba7bf61a6047a8b95459a9ed893f01947737 Fri Dec 12 20:27:03 CET 2014 Dan Carpenter <dan.carpenter@oracle.com> 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>
H A Doxfw-pcm.cdiff 5580ba7bf61a6047a8b95459a9ed893f01947737 Fri Dec 12 20:27:03 CET 2014 Dan Carpenter <dan.carpenter@oracle.com> 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>
H A Doxfw-stream.cdiff 5580ba7bf61a6047a8b95459a9ed893f01947737 Fri Dec 12 20:27:03 CET 2014 Dan Carpenter <dan.carpenter@oracle.com> 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>