diff options
author | Nadav Haklai <nadavh@marvell.com> | 2015-08-06 18:03:49 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-10-30 19:33:23 +0100 |
commit | b56100db5b057fef889a73cb66c24633696d188b (patch) | |
tree | e2065f08beee5bac3da3d08b9599c387efc7a908 /samples | |
parent | thermal: imx: register irq handler later in probe (diff) | |
download | linux-b56100db5b057fef889a73cb66c24633696d188b.tar.xz linux-b56100db5b057fef889a73cb66c24633696d188b.zip |
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: Nadav Haklai <nadavh@marvell.com>
Reviewed-by: Victor Axelrod <victora@marvell.com>
Reviewed-by: Neta Zur Hershkovits <neta@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions