aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2011-12-08 21:05:26 +0800
committerAnton Vorontsov <[email protected]>2012-01-06 05:57:17 +0400
commitef7906f3204280ccaf8cd7ace974b7c0a1393812 (patch)
tree125e5f8240ae635a3ff5665f8ad488c170de2228 /net/lapb/lapb_subr.c
parent2530daa187be3adef2d7cb41bd51f1384e478f2b (diff)
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 <[email protected]> Acked-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions