llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [toke:xdp-queueing-08 5/10] net/core/xdp.c:939:6: warning: no previous prototype for function 'dev_check_flush'
@ 2024-01-16  1:11 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-16  1:11 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: llvm, oe-kbuild-all

Hi Toke,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-08
head:   6b7e918c9c07efda4a33ce43d8926dfa59db82a3
commit: 96cd8dc4671edf2d40a17ed13629be341995b8f5 [5/10] xdp: Move bulk queue functions and data structures out of devmap.c
config: x86_64-randconfig-015-20240116 (https://download.01.org/0day-ci/archive/20240116/202401160923.IMAFouqs-lkp@intel.com/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240116/202401160923.IMAFouqs-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/202401160923.IMAFouqs-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> net/core/xdp.c:939:6: warning: no previous prototype for function 'dev_check_flush' [-Wmissing-prototypes]
     939 | bool dev_check_flush(void)
         |      ^
   net/core/xdp.c:939:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     939 | bool dev_check_flush(void)
         | ^
         | static 
   1 warning generated.


vim +/dev_check_flush +939 net/core/xdp.c

   937	
   938	#ifdef CONFIG_DEBUG_NET
 > 939	bool dev_check_flush(void)
   940	{
   941		if (list_empty(this_cpu_ptr(&dev_flush_list)))
   942			return false;
   943		__xdp_dev_flush();
   944		return true;
   945	}
   946	#endif
   947	
   948	

-- 
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:[~2024-01-16  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-16  1:11 [toke:xdp-queueing-08 5/10] net/core/xdp.c:939:6: warning: no previous prototype for function 'dev_check_flush' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).