]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: underflow bug in imx_set_trip_temp()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 21 Aug 2015 08:49:09 +0000 (11:49 +0300)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 30 Oct 2015 18:35:50 +0000 (11:35 -0700)
commitf95f7299a39d88b8b9af7a4d9d7d8f0d878acda4
treeb5baa7bba0813f7643b3e21e8ad6f5b16f9283fd
parent093f026999550f60b21992c865c15631797d78e5
thermal: underflow bug in imx_set_trip_temp()

We recently changed this from unsigned long to int so it introduced an
underflow bug.

Fixes: da99875ad827 ('thermal: consistently use int for temperatures')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/imx_thermal.c