Revision ff01b9163655ace76b29b7ff2f56b25c32f795da authored by Roel Kluin on 03 February 2009, 07:19:50 UTC, committed by David S. Miller on 03 February 2009, 07:19:50 UTC
while (limit--) if (test()) break; if (limit <= 0) goto test_failed; In the last iteration, limit is decremented after the test to 0. If just thereafter test() succeeds and a break occurs, the goto still occurs because limit is 0. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 46578a6
File | Mode | Size |
---|---|---|
00-INDEX | -rw-r--r-- | 788 bytes |
3270.ChangeLog | -rw-r--r-- | 1.8 KB |
3270.txt | -rw-r--r-- | 10.7 KB |
CommonIO | -rw-r--r-- | 4.5 KB |
DASD | -rw-r--r-- | 3.3 KB |
Debugging390.txt | -rw-r--r-- | 95.0 KB |
TAPE | -rw-r--r-- | 4.4 KB |
cds.txt | -rw-r--r-- | 20.5 KB |
config3270.sh | -rw-r--r-- | 2.0 KB |
driver-model.txt | -rw-r--r-- | 9.9 KB |
kvm.txt | -rw-r--r-- | 5.5 KB |
monreader.txt | -rw-r--r-- | 8.4 KB |
s390dbf.txt | -rw-r--r-- | 22.7 KB |
zfcpdump.txt | -rw-r--r-- | 3.7 KB |
Computing file changes ...