hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I90CON CVE: NA
--------------------------------
fix static scanning issue with bond_broadcast_arp_or_nd_table_header:
symbol 'bond_broadcast_arp_or_nd_table_header' was not declared. Should it be static?
Signed-off-by: Zhengchao Shao shaozhengchao@huawei.com --- drivers/net/bonding/bond_sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bonding/bond_sysctl.c b/drivers/net/bonding/bond_sysctl.c index 17404d37a2fd..78c1ad71c8f0 100644 --- a/drivers/net/bonding/bond_sysctl.c +++ b/drivers/net/bonding/bond_sysctl.c @@ -6,7 +6,7 @@ int sysctl_bond_broadcast_arp_or_nd __read_mostly; EXPORT_SYMBOL(sysctl_bond_broadcast_arp_or_nd);
-struct ctl_table_header *bond_broadcast_arp_or_nd_table_header; +static struct ctl_table_header *bond_broadcast_arp_or_nd_table_header;
static struct ctl_table bond_broadcast_arp_or_nd_table[] = { {