From: Axel Lin Date: Thu, 8 Dec 2011 13:05:26 +0000 (+0800) Subject: jz4740-battery: Fix signedness bug X-Git-Tag: v3.3-rc1~98^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef7906f3204280ccaf8cd7ace974b7c0a1393812;p=pandora-kernel.git jz4740-battery: Fix signedness bug 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 Acked-by: Lars-Peter Clausen Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed