Netdev List
 help / color / mirror / Atom feed
From: Radheka Godse <radheka.godse@intel.com>
To: fubar@us.ibm.com, bonding-devel@lists.sourceforge.net
Cc: netdev@oss.sgi.com
Subject: [PATCH 2.6.13-rc1 14/17] bonding: spelling and whitespace correction
Date: Fri, 1 Jul 2005 13:55:08 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.61.0507011354110.17459@localhost.localdomain> (raw)

Trivial patch to fix spelling errors and some white spaces changes for 
readabilitiy.

Signed-off-by: Radheka Godse <radheka.godse@intel.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>

diff -urN -X dontdiff linux-2.6.12post/drivers/net/bonding/bond_alb.c linux-2.6.12post-sysfs/drivers/net/bonding/bond_alb.c
--- linux-2.6.12post/drivers/net/bonding/bond_alb.c	2005-06-17 12:48:29.000000000 -0700
+++ linux-2.6.12post-sysfs/drivers/net/bonding/bond_alb.c	2005-06-28 18:21:35.000000000 -0700
@@ -1423,7 +1423,7 @@
  		read_lock(&bond->curr_slave_lock);

  		bond_for_each_slave(bond, slave, i) {
-			alb_send_learning_packets(slave,slave->dev->dev_addr);
+			alb_send_learning_packets(slave, slave->dev->dev_addr);
  		}

  		read_unlock(&bond->curr_slave_lock);
diff -urN -X dontdiff linux-2.6.12post/drivers/net/bonding/bonding.h linux-2.6.12post-sysfs/drivers/net/bonding/bonding.h
--- linux-2.6.12post/drivers/net/bonding/bonding.h	2005-06-28 18:18:03.000000000 -0700
+++ linux-2.6.12post-sysfs/drivers/net/bonding/bonding.h	2005-06-30 13:58:27.000000000 -0700
@@ -165,7 +165,7 @@
  };

  struct slave {
-	struct net_device *dev; /* first - usefull for panic debug */
+	struct net_device *dev; /* first - useful for panic debug */
  	struct slave *next;
  	struct slave *prev;
  	s16    delay;
@@ -191,7 +191,7 @@
   *    beforehand.
   */
  struct bonding {
-	struct   net_device *dev; /* first - usefull for panic debug */
+	struct   net_device *dev; /* first - useful for panic debug */
  	struct   slave *first_slave;
  	struct   slave *curr_active_slave;
  	struct   slave *current_arp_slave;
diff -urN -X dontdiff linux-2.6.12post/drivers/net/bonding/bond_main.c linux-2.6.12post-sysfs/drivers/net/bonding/bond_main.c
--- linux-2.6.12post/drivers/net/bonding/bond_main.c	2005-06-28 18:18:03.000000000 -0700
+++ linux-2.6.12post-sysfs/drivers/net/bonding/bond_main.c	2005-06-30 13:53:55.000000000 -0700
@@ -2117,7 +2117,6 @@

  	/* release the slave from its bond */
  	bond_detach_slave(bond, slave);
-
  	if (bond->primary_slave == slave) {
  		bond->primary_slave = NULL;
  	}
@@ -2436,7 +2435,6 @@
  			if (orig_app_abi_ver == -1) {
  				orig_app_abi_ver  = new_abi_ver;
  			}
-
  			app_abi_ver = new_abi_ver;
  		}

@@ -4226,6 +4224,7 @@
  	bond_for_each_slave(bond, slave, i) {
  		dprintk("s %p s->p %p c_m %p\n", slave,
  			slave->prev, slave->dev->change_mtu);
+
  		res = dev_set_mtu(slave->dev, new_mtu);

  		if (res) {
@@ -4623,7 +4622,7 @@
  	 */
  	bond_dev->features |= NETIF_F_VLAN_CHALLENGED;

-	/* don't acquire bond device's xmit_lock when 
+	/* don't acquire bond device's xmit_lock when
  	 * transmitting */
  	bond_dev->features |= NETIF_F_LLTX;

@@ -5035,7 +4976,6 @@
  #ifdef CONFIG_PROC_FS
  	bond_create_proc_dir();
  #endif
-
  	for (i = 0; i < max_bonds; i++) {
  		sprintf(new_bond_name, "bond%d",i);
  		res = bond_create(new_bond_name,&bonding_defaults, NULL);

                 reply	other threads:[~2005-07-01 20:55 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=Pine.LNX.4.61.0507011354110.17459@localhost.localdomain \
    --to=radheka.godse@intel.com \
    --cc=bonding-devel@lists.sourceforge.net \
    --cc=fubar@us.ibm.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