All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: i reaches -1, tested 0
@ 2009-01-31 10:44 Roel Kluin
  0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2009-01-31 10:44 UTC (permalink / raw
  To: Greg KH; +Cc: lkml

diff --git a/drivers/staging/agnx/rf.c b/drivers/staging/agnx/rf.c
index 8294b6e..9e1e9d5 100644
--- a/drivers/staging/agnx/rf.c
+++ b/drivers/staging/agnx/rf.c
@@ -669,7 +669,7 @@ static inline void calibra_delay(struct agnx_priv *priv)
 	unsigned int i = 100;
 
 	wmb();
-	while (i--) {
+	while (--i) {
 		reg = (ioread32(ctl + AGNX_ACI_STATUS));
 		if (reg == 0x4000)
 			break;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-31 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-31 10:44 [PATCH] staging: i reaches -1, tested 0 Roel Kluin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.