All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-6.6 2784/2784] net/oenetcls/oenetcls_flow.c:18:6: warning: no previous prototype for function 'is_oecls_config_netdev'
@ 2025-08-28 13:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-28 13:10 UTC (permalink / raw)
  To: kernel, Wang Liang; +Cc: oe-kbuild-all

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@intel.com/config)
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@intel.com/reproduce)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-28 13:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-28 13:10 [openeuler:OLK-6.6 2784/2784] net/oenetcls/oenetcls_flow.c:18:6: warning: no previous prototype for function 'is_oecls_config_netdev' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.