]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rt2860: test off by one in RtmpAsicSendCommandToMcu()
authorRoel Kluin <roel.kluin@gmail.com>
Sat, 26 Dec 2009 19:00:47 +0000 (20:00 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:34 +0000 (16:42 -0800)
commita55db26530bed2fe741e9d3ce83a55a7da791bee
tree6813d9654bcfd013b9c7dee45756c0389b0b4b8f
parent733579d9c1e1439e05f9b3b64c3c5e907514462b
Staging: rt2860: test off by one in RtmpAsicSendCommandToMcu()

`i' reaches 101 after the loop, so if it was 100 then it succeeded in
the last iteration. This is probably unlikely to cause problems.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt2860/common/rtmp_mcu.c