diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-03-06 14:20:17 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-06 17:39:19 -0500 |
commit | 28f084cca35a73698568d8c060bbb98193021db5 (patch) | |
tree | a2266adda9ac371139060ba23c8df3ea5b674cbc /drivers/net/bonding/bond_procfs.c | |
parent | 6f542efcbc74801eb4bfa0dbba64c2df6811b2d3 (diff) | |
download | op-kernel-dev-28f084cca35a73698568d8c060bbb98193021db5.zip op-kernel-dev-28f084cca35a73698568d8c060bbb98193021db5.tar.gz |
bonding: fix const in options processing
This is a fixup patch to resolve issues with const from my earlier patch.
Make all the setter functions use const on input parameter.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_procfs.c')
-rw-r--r-- | drivers/net/bonding/bond_procfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c index 588cf39..013fdd0 100644 --- a/drivers/net/bonding/bond_procfs.c +++ b/drivers/net/bonding/bond_procfs.c @@ -65,7 +65,7 @@ static void bond_info_seq_stop(struct seq_file *seq, void *v) static void bond_info_show_master(struct seq_file *seq) { struct bonding *bond = seq->private; - struct bond_opt_value *optval; + const struct bond_opt_value *optval; struct slave *curr; int i; |