[lm-sensors] [PATCH 1/2] hwmon: jz4740: fix signedness bug

Guenter Roeck guenter.roeck at ericsson.com
Thu Dec 8 15:20:52 CET 2011


On Thu, Dec 08, 2011 at 08:04:12AM -0500, Axel Lin wrote:
> wait_for_completion_interruptible_timeout() may return negative value.
> In this case, checking if (t > 0)  will return true if t is unsigned.
> 
> Signed-off-by: Axel Lin <axel.lin at gmail.com>

Applied.

Thanks,
Guenter




More information about the lm-sensors mailing list