aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorNicolas de Pesloüan <nicolas.2p.debian@free.fr>2009-10-07 17:10:36 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-07 17:10:36 -0400
commit3c6aaa24613cbd56f853363e3ce00091a9d2eac8 (patch)
tree0fff9f99c2477c324b867308ae6401ce372157fe /drivers/net/bonding
parentb301e82cf8104cfddbe5452ebe625bab49597c64 (diff)
bonding: fix a parameter name in error message
When parsing module parameters, bond_check_params() erroneously use 'xor_mode' as the name of a module parameter in an error message. The right name for this parameter is 'xmit_hash_policy'. Signed-off-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 19d57d537ec1..05877cb182e7 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -4706,7 +4706,8 @@ static int bond_check_params(struct bond_params *params)
4706 if ((bond_mode != BOND_MODE_XOR) && 4706 if ((bond_mode != BOND_MODE_XOR) &&
4707 (bond_mode != BOND_MODE_8023AD)) { 4707 (bond_mode != BOND_MODE_8023AD)) {
4708 pr_info(DRV_NAME 4708 pr_info(DRV_NAME
4709 ": xor_mode param is irrelevant in mode %s\n", 4709 ": xmit_hash_policy param is irrelevant in"
4710 " mode %s\n",
4710 bond_mode_name(bond_mode)); 4711 bond_mode_name(bond_mode));
4711 } else { 4712 } else {
4712 xmit_hashtype = bond_parse_parm(xmit_hash_policy, 4713 xmit_hashtype = bond_parse_parm(xmit_hash_policy,