From: Daniel Hokka Zakrisson Date: Mon, 15 Jun 2009 20:30:29 +0000 (+0000) Subject: Fix typos. X-Git-Tag: linux-2.6-22-42~5 X-Git-Url: http://git.onelab.eu/?p=linux-2.6.git;a=commitdiff_plain;h=84a54922431f4fcd890528fc943026c26aeb0f65 Fix typos. --- diff --git a/linux-2.6-720-bonding-hashes.patch b/linux-2.6-720-bonding-hashes.patch index 080c3e5a5..77bf8aa9f 100644 --- a/linux-2.6-720-bonding-hashes.patch +++ b/linux-2.6-720-bonding-hashes.patch @@ -72,7 +72,7 @@ diff -Nurp linux-2.6.22.19-vs2.3.0.34/drivers/net/bonding/bond_main.c linux-2.6. + struct net_device *bond_dev, int count) +{ + static atomic_t packets; -+ return atomic_inc_return(packets) % count; ++ return atomic_inc_return(&packets) % count; +} + /*-------------------------- Device entry points ----------------------------*/ @@ -83,7 +83,7 @@ diff -Nurp linux-2.6.22.19-vs2.3.0.34/drivers/net/bonding/bond_main.c linux-2.6. if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) bond->xmit_hash_policy = bond_xmit_hash_policy_l34; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23) -+ bond->xmit_hash_policy = bond_xmit_hash_policty_l23; ++ bond->xmit_hash_policy = bond_xmit_hash_policy_l23; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER3) + bond->xmit_hash_policy = bond_xmit_hash_policy_l3; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_RR) @@ -96,7 +96,7 @@ diff -Nurp linux-2.6.22.19-vs2.3.0.34/drivers/net/bonding/bond_main.c linux-2.6. if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER34) bond->xmit_hash_policy = bond_xmit_hash_policy_l34; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER23) -+ bond->xmit_hash_policy = bond_xmit_hash_policty_l23; ++ bond->xmit_hash_policy = bond_xmit_hash_policy_l23; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_LAYER3) + bond->xmit_hash_policy = bond_xmit_hash_policy_l3; + else if (bond->params.xmit_policy == BOND_XMIT_POLICY_RR)