Re: [PATCH net-next v3 5/8] net: qualcomm: ipqess: add bridge offloading features to the IPQESS driver

From: kernel test robot
Date: Mon Dec 11 2023 - 15:17:54 EST


Hi Romain,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url: https://github.com/intel-lab-lkp/linux/commits/Romain-Gantois/dt-bindings-net-Introduce-the-Qualcomm-IPQESS-Ethernet-switch/20231114-185953
base: net-next/main
patch link: https://lore.kernel.org/r/20231114105600.1012056-6-romain.gantois%40bootlin.com
patch subject: [PATCH net-next v3 5/8] net: qualcomm: ipqess: add bridge offloading features to the IPQESS driver
config: arc-randconfig-r112-20231116 (https://download.01.org/0day-ci/archive/20231212/202312120428.xmRLjyHQ-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231212/202312120428.xmRLjyHQ-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312120428.xmRLjyHQ-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/net/dsa/qca/qca8k-8xxx.c:1982:5: sparse: sparse: symbol 'qca8k_dsa_port_fdb_dump' was not declared. Should it be static?
>> drivers/net/dsa/qca/qca8k-8xxx.c:1988:6: sparse: sparse: symbol 'qca8k_dsa_port_stp_state_set' was not declared. Should it be static?
>> drivers/net/dsa/qca/qca8k-8xxx.c:1995:6: sparse: sparse: symbol 'qca8k_dsa_port_fast_age' was not declared. Should it be static?
>> drivers/net/dsa/qca/qca8k-8xxx.c:2000:5: sparse: sparse: symbol 'qca8k_dsa_set_ageing_time' was not declared. Should it be static?
>> drivers/net/dsa/qca/qca8k-8xxx.c:2005:5: sparse: sparse: symbol 'qca8k_dsa_port_vlan_filtering' was not declared. Should it be static?
>> drivers/net/dsa/qca/qca8k-8xxx.c:2012:5: sparse: sparse: symbol 'qca8k_dsa_vlan_add' was not declared. Should it be static?

vim +/qca8k_dsa_port_fdb_dump +1982 drivers/net/dsa/qca/qca8k-8xxx.c

1981
> 1982 int qca8k_dsa_port_fdb_dump(struct dsa_switch *ds, int port,
1983 dsa_fdb_dump_cb_t *cb, void *data)
1984 {
1985 return qca8k_port_fdb_dump(ds->priv, port, cb, data);
1986 }
1987
> 1988 void qca8k_dsa_port_stp_state_set(struct dsa_switch *ds, int port,
1989 u8 state)
1990 {
1991 qca8k_port_stp_state_set(ds->priv, port, state,
1992 dsa_to_port(ds, port)->learning, true);
1993 }
1994
> 1995 void qca8k_dsa_port_fast_age(struct dsa_switch *ds, int port)
1996 {
1997 qca8k_port_fast_age(ds->priv, port);
1998 }
1999
> 2000 int qca8k_dsa_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
2001 {
2002 return qca8k_set_ageing_time(ds->priv, msecs);
2003 }
2004
> 2005 int qca8k_dsa_port_vlan_filtering(struct dsa_switch *ds, int port,
2006 bool vlan_filtering,
2007 struct netlink_ext_ack *extack)
2008 {
2009 return qca8k_port_vlan_filtering(ds->priv, port, vlan_filtering);
2010 }
2011
> 2012 int qca8k_dsa_vlan_add(struct dsa_switch *ds, int port,
2013 const struct switchdev_obj_port_vlan *vlan,
2014 struct netlink_ext_ack *extack)
2015 {
2016 return qca8k_port_vlan_add(ds->priv, port, vlan, extack);
2017 }
2018

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki