netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: netdev@oss.sgi.com
Subject: [PATCH] typo in net-drivers-2.5-exp 3c507
Date: Tue, 11 Nov 2003 14:42:58 -0800	[thread overview]
Message-ID: <20031111144258.3a02e3c8.shemminger@osdl.org> (raw)

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)

                 reply	other threads:[~2003-11-11 22:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031111144258.3a02e3c8.shemminger@osdl.org \
    --to=shemminger@osdl.org \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).