diff options
| author | Dan Carpenter <[email protected]> | 2017-03-14 10:51:31 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-16 11:20:03 +0900 |
| commit | f07d4b4270670b099a7034936e519d2efecf81ec (patch) | |
| tree | d348fff6ac166c666c33a0de09aac6b23b7a65df /tools/perf/scripts/python | |
| parent | d86219718650433cc3fe56e640aaa0f4dd89b2f4 (diff) | |
staging: atomisp: off by one in atomisp_acc_load_extensions()
We should be doing i-- on all error paths but we don't if the loop
finishes successfully. I've re-arranged this so that we don't read
beyond the end of acc_flag_to_pipe[] array.
Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions