| commit | b2600cf7e70add5e131cac67a5fa1ba0af17f760 | [log] [tgz] |
|---|---|---|
| author | Pavankumar Kondeti <[email protected]> | Fri Feb 02 11:34:53 2018 +0530 |
| committer | Quentin Perret <[email protected]> | Fri Feb 09 10:52:05 2018 +0000 |
| tree | 1b8fb34ab3e6ac0bf6006ce8ad9c9e5291289aae | |
| parent | 0c3356c0cf26f04cca9ea390be8afe4b35fbc3f9 [diff] |
sched/fair: fix array out of bounds access in select_energy_cpu_idx() We are using an incorrect index while initializing the nrg_delta for the previous CPU in select_energy_cpu_idx(). This initialization it self is not needed as the nrg_delta for the previous CPU is already initialized to 0 while preparing the energ_env struct. Change-Id: Iee4e2c62f904050d2680a0a1df646d4d515c62cc Signed-off-by: Pavankumar Kondeti <[email protected]>