diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-06-18 16:49:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-19 16:46:06 -0700 |
commit | 4390b9e0cfa30c2b1a4d821748d7948fd85356df (patch) | |
tree | 2aed93d24323270a046de4d996e0a5c2c006cb81 /drivers/char/bfin-otp.c | |
parent | befca96779b0259ac8fad0183e748a62935c39cb (diff) |
dtlk: off by one in {read,write}_tts()
With a postfix increment retries is incremented beyond DTLK_MAX_RETRIES so
the error message is not displayed correctly.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: James R. Van Zandt <jrv@vanzandt.mv.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/bfin-otp.c')
0 files changed, 0 insertions, 0 deletions