projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f415c41
)
m68k: count can reach 51, not 50
author
Roel Kluin
<
[email protected]
>
Wed, 17 Jun 2009 20:13:56 +0000
(13:13 -0700)
committer
Geert Uytterhoeven
<
[email protected]
>
Wed, 26 Aug 2009 21:14:49 +0000
(23:14 +0200)
With while (count++ < 50) { ... } count can reach 51, not 50, so we
shouldn't give an error message on a count of 50.
[
[email protected]
: coding-style fixes]
Signed-off-by: Roel Kluin <
[email protected]
>
Cc: Geert Uytterhoeven <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Geert Uytterhoeven <
[email protected]
>
drivers/macintosh/via-maciisi.c
patch
|
blob
|
history
diff --git
a/drivers/macintosh/via-maciisi.c
b/drivers/macintosh/via-maciisi.c
index 4d686c0bdea0f196db01d170a3d287f1e1b6a7d0..9ab5b0c34f0d0e8ff5f759c1e59dfea3948e674a 100644
(file)
--- a/
drivers/macintosh/via-maciisi.c
+++ b/
drivers/macintosh/via-maciisi.c
@@
-288,7
+288,7
@@
static void maciisi_sync(struct adb_request *req)
}
/* This could be BAD... when the ADB controller doesn't respond
* for this long, it's probably not coming back :-( */
- if
(count >=
50) /* Hopefully shouldn't happen */
+ if
(count >
50) /* Hopefully shouldn't happen */
printk(KERN_ERR "maciisi_send_request: poll timed out!\n");
}