]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers/net/bonding: sparse fixes for exported tables
authorBen Dooks <ben-linux@fluff.org>
Sun, 14 Sep 2008 15:56:12 +0000 (16:56 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 25 Sep 2008 02:12:57 +0000 (22:12 -0400)
commitb22596726bd37c7a4df4a43406a9a60f617d3d02
treec8372b2185713ef239fc158ed52f0f41bb70687a
parentbe61ea52900b97800effbb68478915d73b5d4df2
drivers/net/bonding: sparse fixes for exported tables

The following sparse warnings are being generated
because bonding.h is missing definitons for items
declared in bond_main.c but also used in bond_sysfs.h

Also export bond_dev_list as this is also declared
in bond_main but used elsewhere in drivers/net/bonding.

bond_main.c:105:20: warning: symbol 'bonding_defaults' was not declared. Should it be static?
bond_main.c:148:1: warning: symbol 'bond_dev_list' was not declared. Should it be static?
bond_main.c:162:22: warning: symbol 'bond_lacp_tbl' was not declared. Should it be static?
bond_main.c:168:22: warning: symbol 'bond_mode_tbl' was not declared. Should it be static?
bond_main.c:179:22: warning: symbol 'xmit_hashtype_tbl' was not declared. Should it be static?
bond_main.c:186:22: warning: symbol 'arp_validate_tbl' was not declared. Should it be static?
bond_main.c:194:22: warning: symbol 'fail_over_mac_tbl' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/bonding/bonding.h