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: x86_64-randconfig-s032-20221010
compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# 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
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 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]
sparse warnings: (new ones prefixed by >>)quoted
drivers/net/dsa/mv88e6xxx/chip.c:2776:5: sparse: sparse: symbol 'mv88e6xxx_blackhole_fdb_add' was not declared. Should it be static?
drivers/net/dsa/mv88e6xxx/chip.c:2782:5: sparse: sparse: symbol 'mv88e6xxx_blackhole_fdb_del' was not declared. Should it be static?
--
0-DAY CI Kernel Test Service
https://01.org/lkp