Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c87bf20f authored by Satya Durga Srinivasu Prabhala's avatar Satya Durga Srinivasu Prabhala
Browse files

sched: prevent out of bound access in calc_sg_energy



Half-baked change was ported earlier with 'commit 575464db
("sched: prevent out of bound access in sched_group_energy()")'.
Complete the change by bringing in missed changes, update
return value of the function and checks as necessary.

Change-Id: If9796c829c091e461231569dc38c5e5456f58037
Signed-off-by: default avatarSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>
parent c0c89b3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment