Subject: [PATCH] sungem: another error printed one too early

From: Roel Kluin <[email-masked]>
Date: Mon, 16 Feb 2009 15:02:04 +0100

Another error was printed one too early.

Signed-off-by: Roel Kluin <[email-masked]>
---
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c
index 4918763..8d64b1d 100644
--- a/drivers/net/sungem.c
+++ b/drivers/net/sungem.c
@@ -1157,7 +1157,7 @@ static void gem_pcs_reset(struct gem *gp)
 		if (limit-- <= 0)
 			break;
 	}
-	if (limit <= 0)
+	if (limit < 0)
 		printk(KERN_WARNING "%s: PCS reset bit would not clear.\n",
 		       gp->dev->name);
 }