Re: [PATCH v7 net-next 8/9] net: dsa: mv88e6xxx: add blackhole ATU entries
From: kernel test robot <hidden>
Date: 2022-10-10 07:49:28
Hi Hans, 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/Hans-J-Schultz/Extend-locked-port-feature-with-FDB-locked-flag-MAC-Auth-MAB/20221010-125833 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 0326074ff4652329f2a1a9c8685104576bd8d131 config: parisc-randconfig-r004-20221010 compiler: hppa-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/bceb3d02ac2eb92d0fd72b1ce4ed17dbe407c086 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Hans-J-Schultz/Extend-locked-port-feature-with-FDB-locked-flag-MAC-Auth-MAB/20221010-125833 git checkout bceb3d02ac2eb92d0fd72b1ce4ed17dbe407c086 # 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=parisc SHELL=/bin/bash drivers/net/dsa/mv88e6xxx/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot [off-list ref] All warnings (new ones prefixed by >>):
quoted
drivers/net/dsa/mv88e6xxx/chip.c:2776:5: warning: no previous prototype for 'mv88e6xxx_blackhole_fdb_add' [-Wmissing-prototypes]
2776 | int mv88e6xxx_blackhole_fdb_add(struct dsa_switch *ds, const unsigned char *addr, u16 vid)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~quoted
drivers/net/dsa/mv88e6xxx/chip.c:2782:5: warning: no previous prototype for 'mv88e6xxx_blackhole_fdb_del' [-Wmissing-prototypes]
2782 | int mv88e6xxx_blackhole_fdb_del(struct dsa_switch *ds, const unsigned char *addr, u16 vid)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/mv88e6xxx_blackhole_fdb_add +2776 drivers/net/dsa/mv88e6xxx/chip.c
2775 2776 int mv88e6xxx_blackhole_fdb_add(struct dsa_switch *ds, const unsigned char *addr, u16 vid)
2777 {
2778 return mv88e6xxx_blackhole_fdb_loadpurge(ds, addr, vid,
2779 MV88E6XXX_G1_ATU_DATA_STATE_UC_STATIC);
2780 }
2781 2782 int mv88e6xxx_blackhole_fdb_del(struct dsa_switch *ds, const unsigned char *addr, u16 vid)
2783 {
2784 return mv88e6xxx_blackhole_fdb_loadpurge(ds, addr, vid,
2785 MV88E6XXX_G1_ATU_DATA_STATE_UC_UNUSED);
2786 }
2787
--
0-DAY CI Kernel Test Service
https://01.org/lkp