summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_procfs.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2014-03-06 14:20:17 -0800
committerDavid S. Miller <davem@davemloft.net>2014-03-06 17:39:19 -0500
commit28f084cca35a73698568d8c060bbb98193021db5 (patch)
treea2266adda9ac371139060ba23c8df3ea5b674cbc /drivers/net/bonding/bond_procfs.c
parent6f542efcbc74801eb4bfa0dbba64c2df6811b2d3 (diff)
downloadblackbird-op-linux-28f084cca35a73698568d8c060bbb98193021db5.tar.gz
blackbird-op-linux-28f084cca35a73698568d8c060bbb98193021db5.zip
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;
OpenPOWER on IntegriCloud