diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-04-23 16:27:39 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-05-03 22:54:23 +0100 |
commit | d10db3a07e38bfb1bff92c790072d85b0bcc07eb (patch) | |
tree | 8cfbe18a5d164d02b9fcce64fda01e777a1d655b /scripts/mod/modpost.h | |
parent | 091438dd5668396328a3419abcbc6591159eb8d1 (diff) | |
download | talos-op-linux-d10db3a07e38bfb1bff92c790072d85b0bcc07eb.tar.gz talos-op-linux-d10db3a07e38bfb1bff92c790072d85b0bcc07eb.zip |
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 'scripts/mod/modpost.h')
0 files changed, 0 insertions, 0 deletions