diff options
author | Dan Carpenter <[email protected]> | 2014-12-12 22:27:03 +0300 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2014-12-15 10:03:21 +0100 |
commit | 5580ba7bf61a6047a8b95459a9ed893f01947737 (patch) | |
tree | 2e43097b2912444d3a42803058a4eb93c7f69823 /tools/perf/scripts/python/syscall-counts.py | |
parent | 0d3aba30b755fe9ccaf390f0e71f6fb9fd55bd87 (diff) |
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 <[email protected]>
Reviewed-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions