summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-04-23 16:27:39 +0200
committerBen Dooks <ben-linux@fluff.org>2009-05-03 22:54:23 +0100
commitd10db3a07e38bfb1bff92c790072d85b0bcc07eb (patch)
tree8cfbe18a5d164d02b9fcce64fda01e777a1d655b /mm/util.c
parent091438dd5668396328a3419abcbc6591159eb8d1 (diff)
downloadop-kernel-dev-d10db3a07e38bfb1bff92c790072d85b0bcc07eb.zip
op-kernel-dev-d10db3a07e38bfb1bff92c790072d85b0bcc07eb.tar.gz
i2c-pxa.c: timeouts off by 1
With `while (timeout--)' timeout reaches -1 after the loop, so the tests below are off by one. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud