diff options
author | Axel Lin <[email protected]> | 2010-07-26 15:34:14 +0800 |
---|---|---|
committer | Liam Girdwood <[email protected]> | 2010-07-27 11:29:23 +0100 |
commit | 979da89a9c230381ca55ea0764428a5d42a01e7f (patch) | |
tree | 0bce5a6e5c147cddaba8b6c455a00039b45993c3 /tools/perf/util/trace-event-scripting.c | |
parent | b37fa16e78d6f9790462b3181602a26b5af36260 (diff) |
ab3100: fix off-by-one value range checking for voltage selector
We use voltage selector as an array index for typ_voltages.
Thus the valid range for voltage selector should be 0..voltages_len-1.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Mark Brown <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions