Skip to contentSkip to conversation

bonding: fix a parameter name in error message

PATCH New Nicolas de Pesloüan 1 participant 1 message Oct 5, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'.

---

drivers/net/bonding/bond_main.c +2 -1
index 69c5b15..e061c86 100644
@@ -4665,7 +4665,8 @@ static int bond_check_params(struct bond_params *params)
                if ((bond_mode != BOND_MODE_XOR) &&
                    (bond_mode != BOND_MODE_8023AD)) {
                        pr_info(DRV_NAME
-                              ": xor_mode param is irrelevant in mode %s\n",
+                              ": xmit_hash_policy param is irrelevant in"
+                              " mode %s\n",
                               bond_mode_name(bond_mode));
                } else {
                        xmit_hashtype = bond_parse_parm(xmit_hash_policy,