summaryrefslogtreecommitdiff
path: root/drivers/net/bonding/bond_procfs.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-03-07 02:20:17 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-07 02:39:19 +0400
commit28f084cca35a73698568d8c060bbb98193021db5 (patch)
treea2266adda9ac371139060ba23c8df3ea5b674cbc /drivers/net/bonding/bond_procfs.c
parent6f542efcbc74801eb4bfa0dbba64c2df6811b2d3 (diff)
downloadlinux-28f084cca35a73698568d8c060bbb98193021db5.tar.xz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c
index 588cf39d832c..013fdd0f45e9 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;