diff options
author | Axel Lin <[email protected]> | 2013-05-04 22:02:27 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2013-05-12 18:31:36 +0400 |
commit | f5cd8de2ce32e25e399f1d49d4876bf9450163a2 (patch) | |
tree | e5cf65c0286ce4c22621865e48494d54c1971044 /fs/jbd2/commit.c | |
parent | 40b1936efebdb9c31d9ed6fe59055f71ea366509 (diff) |
regulator: ti-abb: Fix off-by-one valid range checking for abb->current_info_idx
abb->current_info_idx is used as array subscript to access volt_table,
thus the valid value range should be 0 ... desc->n_voltages - 1.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Nishanth Menon <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions