sched: Fix out of bounds array access in sched_reset_all_window_stats()
A new reset reason code "FREQ_AGGREGATE_CHANGE" is added to reset_reason_code enum but the corresponding string array is not updated. Fix this. Change-Id: I2a17d95328bef91c4a5dd4dde418296efca44431 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
This commit is contained in:
parent
9aa1df0cf5
commit
822561f075
1 changed files with 1 additions and 0 deletions
|
@ -3024,6 +3024,7 @@ const char *sched_window_reset_reasons[] = {
|
|||
"WINDOW_CHANGE",
|
||||
"POLICY_CHANGE",
|
||||
"HIST_SIZE_CHANGE",
|
||||
"FREQ_AGGREGATE_CHANGE",
|
||||
};
|
||||
|
||||
/* Called with IRQs enabled */
|
||||
|
|
Loading…
Add table
Reference in a new issue