diff options
author | 2010-11-12 08:11:13 +0300 | |
---|---|---|
committer | 2010-11-16 12:25:53 -0800 | |
commit | 832855354b5863d141ecfc563e78063978c6f29f (patch) | |
tree | 4bf9d9552daa9ffc98b3368a95a727b125b0c24f /mm/hugetlb.c | |
parent | staging: rtl8187se: Change panic to warn when RF switch turned off (diff) | |
download | wireguard-linux-832855354b5863d141ecfc563e78063978c6f29f.tar.xz wireguard-linux-832855354b5863d141ecfc563e78063978c6f29f.zip |
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 <error27@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions