Skip to content
Commit b56100db authored by Nadav Haklai's avatar Nadav Haklai Committed by Eduardo Valentin
Browse files

thermal: armada: Fix possible overflow in the Armada 380 thermal sensor formula



Update the coefficients so the calculation will not overrun the
unsigned long 32bits boundary

Signed-off-by: default avatarNadav Haklai <nadavh@marvell.com>
Reviewed-by: default avatarVictor Axelrod <victora@marvell.com>
Reviewed-by: default avatarNeta Zur Hershkovits <neta@marvell.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 84866ee5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment