summaryrefslogtreecommitdiffstats
path: root/include/linux/debugfs.h
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-02-02 23:19:50 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-02 23:19:50 -0800
commitff01b9163655ace76b29b7ff2f56b25c32f795da (patch)
treecde3ed89cb379d5e74216cff08077a38f2efd8af /include/linux/debugfs.h
parent46578a6913e6f5e69229561736b94c18c2e88ae4 (diff)
downloadop-kernel-dev-ff01b9163655ace76b29b7ff2f56b25c32f795da.zip
op-kernel-dev-ff01b9163655ace76b29b7ff2f56b25c32f795da.tar.gz
cassini/sungem: limit reaches -1, but 0 tested
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>
Diffstat (limited to 'include/linux/debugfs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud