[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202311212153.jL7dVRss-lkp@intel.com>
Date: Tue, 21 Nov 2023 22:04:03 +0800
From: kernel test robot <lkp@...el.com>
To: Romain Gantois <romain.gantois@...tlin.com>, davem@...emloft.net,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
Romain Gantois <romain.gantois@...tlin.com>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, thomas.petazzoni@...tlin.com,
Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org,
Vladimir Oltean <vladimir.oltean@....com>,
Luka Perkov <luka.perkov@...tura.hr>,
Robert Marko <robert.marko@...tura.hr>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>
Subject: Re: [PATCH net-next v3 5/8] net: qualcomm: ipqess: add bridge
offloading features to the IPQESS driver
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: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20231121/202311212153.jL7dVRss-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231121/202311212153.jL7dVRss-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311212153.jL7dVRss-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/dsa/qca/qca8k-8xxx.c:1982:5: warning: no previous prototype for function 'qca8k_dsa_port_fdb_dump' [-Wmissing-prototypes]
1982 | int qca8k_dsa_port_fdb_dump(struct dsa_switch *ds, int port,
| ^
drivers/net/dsa/qca/qca8k-8xxx.c:1982:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1982 | int qca8k_dsa_port_fdb_dump(struct dsa_switch *ds, int port,
| ^
| static
>> drivers/net/dsa/qca/qca8k-8xxx.c:1988:6: warning: no previous prototype for function 'qca8k_dsa_port_stp_state_set' [-Wmissing-prototypes]
1988 | void qca8k_dsa_port_stp_state_set(struct dsa_switch *ds, int port,
| ^
drivers/net/dsa/qca/qca8k-8xxx.c:1988:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1988 | void qca8k_dsa_port_stp_state_set(struct dsa_switch *ds, int port,
| ^
| static
>> drivers/net/dsa/qca/qca8k-8xxx.c:1995:6: warning: no previous prototype for function 'qca8k_dsa_port_fast_age' [-Wmissing-prototypes]
1995 | void qca8k_dsa_port_fast_age(struct dsa_switch *ds, int port)
| ^
drivers/net/dsa/qca/qca8k-8xxx.c:1995:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1995 | void qca8k_dsa_port_fast_age(struct dsa_switch *ds, int port)
| ^
| static
>> drivers/net/dsa/qca/qca8k-8xxx.c:2000:5: warning: no previous prototype for function 'qca8k_dsa_set_ageing_time' [-Wmissing-prototypes]
2000 | int qca8k_dsa_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
| ^
drivers/net/dsa/qca/qca8k-8xxx.c:2000:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2000 | int qca8k_dsa_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
| ^
| static
>> drivers/net/dsa/qca/qca8k-8xxx.c:2005:5: warning: no previous prototype for function 'qca8k_dsa_port_vlan_filtering' [-Wmissing-prototypes]
2005 | int qca8k_dsa_port_vlan_filtering(struct dsa_switch *ds, int port,
| ^
drivers/net/dsa/qca/qca8k-8xxx.c:2005:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2005 | int qca8k_dsa_port_vlan_filtering(struct dsa_switch *ds, int port,
| ^
| static
>> drivers/net/dsa/qca/qca8k-8xxx.c:2012:5: warning: no previous prototype for function 'qca8k_dsa_vlan_add' [-Wmissing-prototypes]
2012 | int qca8k_dsa_vlan_add(struct dsa_switch *ds, int port,
| ^
drivers/net/dsa/qca/qca8k-8xxx.c:2012:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
2012 | int qca8k_dsa_vlan_add(struct dsa_switch *ds, int port,
| ^
| static
6 warnings generated.
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
Powered by blists - more mailing lists