
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: ed9bff77568b702badeef2b7c7776bb93d993768 commit: 4bed6ba0e88f50484fd5fb06bd993727b981b718 [2784/2784] net/oenetcls: introduce oenetcls for network optimization config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250828/202508282115.FeEkHc1L-lkp@i...) compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250828/202508282115.FeEkHc1L-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/202508282115.FeEkHc1L-lkp@intel.com/ All warnings (new ones prefixed by >>):
net/oenetcls/oenetcls_flow.c:18:6: warning: no previous prototype for function 'is_oecls_config_netdev' [-Wmissing-prototypes] 18 | bool is_oecls_config_netdev(const char *name) | ^ net/oenetcls/oenetcls_flow.c:18:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 18 | bool is_oecls_config_netdev(const char *name) | ^ | static 1 warning generated.
vim +/is_oecls_config_netdev +18 net/oenetcls/oenetcls_flow.c 17
18 bool is_oecls_config_netdev(const char *name) 19 { 20 struct oecls_netdev_info *netdev_info; 21 int netdev_loop; 22 23 for_each_oecls_netdev(netdev_loop, netdev_info) 24 if (strcmp(netdev_info->dev_name, name) == 0) 25 return true; 26 27 return false; 28 } 29
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki