netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] typo in net-drivers-2.5-exp 3c507
@ 2003-11-11 22:42 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2003-11-11 22:42 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev

Fix auto-probing loop in new probing code for 3c507. 
This patch is against net-drivers-2.5-exp repository.
Found by viro.

diff -Nru a/drivers/net/3c507.c b/drivers/net/3c507.c
--- a/drivers/net/3c507.c	Tue Nov 11 09:36:13 2003
+++ b/drivers/net/3c507.c	Tue Nov 11 09:36:13 2003
@@ -332,11 +332,11 @@
 	else if (io != 0)
 		err = -ENXIO;		/* Don't probe at all. */
 	else {
-			for (port = ports; *port; port++) {
-					err = el16_probe1(dev, io);
-					if (!err)
-						break;
-			}
+		for (port = ports; *port; port++) {
+			err = el16_probe1(dev, *port);
+			if (!err)
+				break;
+		}
 	}
 
 	if (err)

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

only message in thread, other threads:[~2003-11-11 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-11 22:42 [PATCH] typo in net-drivers-2.5-exp 3c507 Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).