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

Skip to content
Commit bd8070f3 authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-fg-gen3: fix variable range overflow



cc_soc calculation might result in variable overflow
for larger value of cc_soc, update/typecast all the
variables to 64-bit during calculations.

Change-Id: Ic137fb5f258ae83f70e88b1858a8ebf2b9d1a4c1
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: default avatarChinkit Kumar,Kirti Kumar Parmar <parma@codeaurora.org>
parent cbfc0b35
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