diff options
author | 2009-10-26 12:37:11 +0100 | |
---|---|---|
committer | 2009-12-17 10:27:25 +0000 | |
commit | 495353a3f7fbb11e5100c9258365ff65a4834b37 (patch) | |
tree | 766596871bc81b4871d169771e1e7f185061667b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | regulator: Ensure val is initialised in 88pm8607 choose_voltage() (diff) | |
download | wireguard-linux-495353a3f7fbb11e5100c9258365ff65a4834b37.tar.xz wireguard-linux-495353a3f7fbb11e5100c9258365ff65a4834b37.zip |
regulator: keep index within bounds in da9034_get_ldo12_voltage()
If selector equals ARRAY_SIZE(da9034_ldo12_data), that is one too
large already.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions