Re: [PATCH 2/2] jz4740-battery: fix signedness bug

From: Anton Vorontsov
Date: Thu Jan 05 2012 - 20:57:48 EST


On Thu, Dec 08, 2011 at 03:08:49PM +0100, Lars-Peter Clausen wrote:
> On 12/08/2011 02:05 PM, 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@xxxxxxxxx>
>
> Acked-by: Lars-Peter Clausen <lars@xxxxxxxxxx>

Applied, thanks!

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/