[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202209060114.YyFnMA33-lkp@intel.com>
Date: Tue, 6 Sep 2022 02:14:18 +0800
From: kernel test robot <lkp@...el.com>
To: Mattias Forsblad <mattias.forsblad@...il.com>,
netdev@...r.kernel.org
Cc: kbuild-all@...ts.01.org, Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Mattias Forsblad <mattias.forsblad@...il.com>
Subject: Re: [PATCH net-next v3 1/2] net: dsa: mv88e6xxx: Add functionality
for handling RMU frames.
Hi Mattias,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Mattias-Forsblad/net-dsa-mv88e6xxx-qca8k-Add-RMU-support/20220905-212125
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 5f3c5193479e5b9d51b201245febab6fbda4c477
config: loongarch-buildonly-randconfig-r002-20220905 (https://download.01.org/0day-ci/archive/20220906/202209060114.YyFnMA33-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/50e5d9b5948e53c773edc3c710020e01f6045f9f
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Mattias-Forsblad/net-dsa-mv88e6xxx-qca8k-Add-RMU-support/20220905-212125
git checkout 50e5d9b5948e53c773edc3c710020e01f6045f9f
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/net/dsa/mv88e6xxx/ net/mptcp/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/net/dsa/mv88e6xxx/chip.c:6888:5: warning: no previous prototype for 'mv88e6xxx_connect_tag_protocol' [-Wmissing-prototypes]
6888 | int mv88e6xxx_connect_tag_protocol(struct dsa_switch *ds,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/mv88e6xxx_connect_tag_protocol +6888 drivers/net/dsa/mv88e6xxx/chip.c
6887
> 6888 int mv88e6xxx_connect_tag_protocol(struct dsa_switch *ds,
6889 enum dsa_tag_protocol proto)
6890 {
6891 struct dsa_tagger_data *tagger_data = ds->tagger_data;
6892
6893 switch (proto) {
6894 case DSA_TAG_PROTO_DSA:
6895 case DSA_TAG_PROTO_EDSA:
6896 tagger_data->decode_frame2reg = mv88e6xxx_decode_frame2reg_handler;
6897 break;
6898 default:
6899 return -EOPNOTSUPP;
6900 }
6901
6902 return 0;
6903 }
6904
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists