diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2020-03-19 16:26:20 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-03-23 15:20:47 +0100 |
commit | 968ea0dffa9396e9f8e00f12fd69be95f5a09191 (patch) | |
tree | 742228d1291dfa8dd2e7225601a8f352da1f92f8 /drivers/fpga/dfl-afu-error.c | |
parent | f21431f2de33b1bb99064e57d3ccaa772b92f333 (diff) | |
download | linux-968ea0dffa9396e9f8e00f12fd69be95f5a09191.tar.gz linux-968ea0dffa9396e9f8e00f12fd69be95f5a09191.tar.bz2 linux-968ea0dffa9396e9f8e00f12fd69be95f5a09191.zip |
thermal: imx_sc_thermal: Fix incorrect data type
The temperature value passed from SCU could be negative value,
the data type should be signed instead of unsigned.
Fixes: e20db70dba1c ("thermal: imx_sc: add i.MX system controller thermal support")
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1584606380-9972-1-git-send-email-Anson.Huang@nxp.com
Diffstat (limited to 'drivers/fpga/dfl-afu-error.c')
0 files changed, 0 insertions, 0 deletions