tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: efe5cf254a3b58c26841d55757906bd9acf77e30 commit: 468b0cd7b1e1c131b3ee7d2ea8b96521d3faad8b [3045/3045] net:nebula-matrix:Add S1000 SNIC driver support config: x86_64-randconfig-161-20251027 (https://download.01.org/0day-ci/archive/20251027/202510271755.BtJ3vZX2-lkp@i...) compiler: gcc-13 (Debian 13.3.0-16) 13.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251027/202510271755.BtJ3vZX2-lkp@i...) 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@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202510271755.BtJ3vZX2-lkp@intel.com/ All error/warnings (new ones prefixed by >>): drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c: In function 'nbl_serv_adjust_interrpt_param': drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:380:33: warning: variable 'net_priv' set but not used [-Wunused-but-set-variable] 380 | struct nbl_netdev_priv *net_priv; | ^~~~~~~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c: In function 'nbl_serv_update_stats': drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:503:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 503 | int ret = 0; | ^~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c: In function 'nbl_set_ksettings': drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:1108:30: warning: variable 'phy_caps' set but not used [-Wunused-but-set-variable] 1108 | struct nbl_phy_caps *phy_caps; | ^~~~~~~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c: In function 'nbl_set_pause_param': drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:3129:30: warning: variable 'phy_caps' set but not used [-Wunused-but-set-variable] 3129 | struct nbl_phy_caps *phy_caps; | ^~~~~~~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c: In function 'nbl_stats_fill_strings':
drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:218:47: warning: '%s' directive output may be truncated writing up to 1891 bytes into a region of size 32 [-Wformat-truncation=] 218 | snprintf(p, ETH_GSTRING_LEN, "%s", nbl_gstrings_stats[i].stat_string); | ^~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_ethtool.c:218:17: note: 'snprintf' output between 1 and 1892 bytes into a destination of size 32 218 | snprintf(p, ETH_GSTRING_LEN, "%s", nbl_gstrings_stats[i].stat_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c: In function 'nbl_dev_prepare_reset_task': drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:896:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 896 | int ret; | ^~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c: At top level: drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:2963:8: error: unknown type name 'ivoidnt' 2963 | static ivoidnt nbl_dev_setup_ktls_ops(struct nbl_dev_mgt *dev_mgt, struct net_device *netdev | ^~~~~~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:2964:39: error: expected ';', ',' or ')' before 'struct' 2964 | struct nbl_init_param *param) | ^~~~~~ drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c: In function 'nbl_dev_cfg_netdev': drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c:3316:23: error: implicit declaration of function 'nbl_dev_setup_ktls_ops'; did you mean 'nbl_dev_setup_xfrm_ops'? [-Werror=implicit-function-declaration] 3316 | ret = nbl_dev_setup_ktls_ops(dev_mgt, netdev); | ^~~~~~~~~~~~~~~~~~~~~~ | nbl_dev_setup_xfrm_ops cc1: some warnings being treated as errors
vim +/ivoidnt +2963 drivers/net/ethernet/nebula-matrix/nbl/nbl_core/nbl_dev.c 2961 2962 #else
2963 static ivoidnt nbl_dev_setup_ktls_ops(struct nbl_dev_mgt *dev_mgt, struct net_device *netdev 2964 struct nbl_init_param *param) 2965 { 2966 } 2967
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki