Hi "Alvin, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Alvin-ipraga/net-dsa-add-support-for-RTL8365MB-VC/20210823-033419 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 9b60ac54ab7cf92af76240cdad549e8fde605eee config: powerpc-allyesconfig (attached as .config) compiler: powerpc64-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/678769f73446be05b2f03f10fe1ccbe161a35019 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Alvin-ipraga/net-dsa-add-support-for-RTL8365MB-VC/20210823-033419 git checkout 678769f73446be05b2f03f10fe1ccbe161a35019 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/net/dsa/rtl8365mb.c:1188:5: warning: no previous prototype for 'rtl8365mb_port_vlan_filtering' [-Wmissing-prototypes] 1188 | int rtl8365mb_port_vlan_filtering(struct dsa_switch *ds, int port, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/dsa/rtl8365mb.c: In function 'rtl8365mb_setup': >> drivers/net/dsa/rtl8365mb.c:1943:27: warning: variable 'mb' set but not used [-Wunused-but-set-variable] 1943 | struct rtl8365mb *mb; | ^~ vim +/rtl8365mb_port_vlan_filtering +1188 drivers/net/dsa/rtl8365mb.c 1187 > 1188 int rtl8365mb_port_vlan_filtering(struct dsa_switch *ds, int port, 1189 bool vlan_filtering, 1190 struct netlink_ext_ack *extack) 1191 { 1192 struct realtek_smi *smi = ds->priv; 1193 u32 phys_port = PORT_NUM_L2P(port); 1194 int ret; 1195 1196 dev_info(smi->dev, "%s filtering on port %d\n", 1197 vlan_filtering ? "enable" : "disable", port); 1198 1199 /* vlan_filtering on: Discard VLAN tagged frames if the port is not a 1200 * member of the VLAN with which the packet is associated. Untagged 1201 * packets should also be discarded unless the port has a PVID 1202 * programmed. 1203 * 1204 * vlan_filtering off: Accept all VLAN tagged frames, including 1205 * untagged. 1206 */ 1207 ret = regmap_update_bits( 1208 smi->map, RTL8365MB_VLAN_INGRESS_REG, 1209 RTL8365MB_VLAN_INGRESS_FILTER_PORT_EN_MASK(phys_port), 1210 (vlan_filtering ? 1 : 0) 1211 << RTL8365MB_VLAN_INGRESS_FILTER_PORT_EN_OFFSET( 1212 phys_port)); 1213 if (ret) 1214 return ret; 1215 1216 return 0; 1217 } 1218 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org