[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160308210900.GB8145@localhost.localdomain>
Date: Tue, 8 Mar 2016 13:09:02 -0800
From: Eduardo Valentin <edubezval@...il.com>
To: Wei Ni <wni@...dia.com>
Cc: rui.zhang@...el.com, linux-kernel@...r.kernel.org,
linux-pm@...r.kernel.org
Subject: Re: [PATCH v2] thermal: consistently use int for trip temp
On Tue, Mar 08, 2016 at 11:24:39AM +0800, Wei Ni wrote:
>
>
> On 2016年03月07日 16:23, Wei Ni wrote:
> > There had a build error in previous patch.
> > Fixed it in this version.
> > Please review it.
>
> Add CC: linux-pm@...r.kernel.org
>
> >
> > Thanks.
> > Wei.
> >
> > On 2016年03月03日 17:33, Wei Ni wrote:
> >> The commit 17e8351a7739 consistently use int for temperature,
> >> however it missed a few in trip temperature and thermal_core.
> >>
> >> In current codes, the trip->temperature used "unsigned long"
> >> and zone->temperature used"int", if the temperature is negative
> >> value, it will get wrong result when compare temperature with
> >> trip temperature.
> >>
> >> This patch can fix it.
> >>
> >> Signed-off-by: Wei Ni <wni@...dia.com>
Rui are you collecting this one?
Acked-by: Eduardo Valentin <edubezval@...il.com>
Powered by blists - more mailing lists