From: Dan Carpenter Date: Fri, 12 Nov 2010 05:11:13 +0000 (+0300) Subject: Staging: rtl8712: signedness bug in init X-Git-Tag: v2.6.37-rc5~28^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=832855354b5863d141ecfc563e78063978c6f29f;p=pandora-kernel.git Staging: rtl8712: signedness bug in init PollingCnt is 20 and that means we loop 20 times and then run the timeout code. After the end of the loop PollingCnt should be -1 but because it's an unsigned char, it's actually 255 and the timeout code never runs. Signed-off-by: Dan Carpenter Acked-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed