diff options
author | Axel Lin <[email protected]> | 2010-08-22 22:38:15 +0800 |
---|---|---|
committer | Liam Girdwood <[email protected]> | 2010-09-01 12:59:34 +0100 |
commit | 327531bada36e5786b13bb6918ad8afc545adfa2 (patch) | |
tree | 1ea5cb6f7d430a793eed7e2e5cf803f8cf16bb79 /tools/perf/util/trace-event-scripting.c | |
parent | c356cbc2d4d99cf5a1429603fa1841e50987c4d3 (diff) |
regulator: tps6586x-regulator - fix value range checking for val
val is used as array index of ri->voltages.
Thus the valid value range should be 0 .. ri->desc.n_voltages - 1.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Mark Brown <[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