]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bonding: fix bond_option_mode_set warning
authorNikolay Aleksandrov <nikolay@redhat.com>
Tue, 15 Jul 2014 14:08:57 +0000 (16:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jul 2014 05:55:57 +0000 (22:55 -0700)
commitff11d8b27dcd85e7b96ac2570116d5061130bd5e
treec768872890f225fa73efa8ee20b26719bdef69ea
parentf54424412b6b2f64cae4d7c39d981ca14ce0052c
bonding: fix bond_option_mode_set warning

During the conversion to "static" functions this one got left out, only its
prototype was converted, thus resulting in:
drivers/net/bonding//bond_options.c:674:5: warning: symbol
'bond_option_mode_set' was not declared. Should it be static?

Fix it by making it static and also break the line in two as it was too
long.

CC: Stephen Hemminger <stephen@networkplumber.org>
CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Veaceslav Falico <vfalico@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_options.c