Re: [PATCH 3/4] bpf: runtime part of fast-path termination approach

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Siddharth,

kernel test robot noticed the following build warnings:

[auto build test WARNING on bpf-next/net]
[also build test WARNING on bpf-next/master bpf/master linus/master v6.17-rc5 next-20250905]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Siddharth-Chintamaneni/bpf-Introduce-new-structs-and-struct-fields-for-fast-path-termination/20250908-070655
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git net
patch link:    https://lore.kernel.org/r/20250907230415.289327-4-sidchintamaneni%40gmail.com
patch subject: [PATCH 3/4] bpf: runtime part of fast-path termination approach
config: s390-randconfig-001-20250908 (https://download.01.org/0day-ci/archive/20250908/202509081350.yqptixjh-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 7fb1dc08d2f025aad5777bb779dfac1197e9ef87)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250908/202509081350.yqptixjh-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509081350.yqptixjh-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> kernel/bpf/core.c:109:13: warning: no previous prototype for function 'in_place_patch_bpf_prog' [-Wmissing-prototypes]
     109 | void __weak in_place_patch_bpf_prog(struct bpf_prog *prog)
         |             ^
   kernel/bpf/core.c:109:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     109 | void __weak in_place_patch_bpf_prog(struct bpf_prog *prog)
         | ^
         | static 
>> kernel/bpf/core.c:114:13: warning: no previous prototype for function 'bpf_die' [-Wmissing-prototypes]
     114 | void __weak bpf_die(struct bpf_prog *prog)
         |             ^
   kernel/bpf/core.c:114:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     114 | void __weak bpf_die(struct bpf_prog *prog)
         | ^
         | static 
>> kernel/bpf/core.c:119:13: warning: no previous prototype for function 'bpf_prog_termination_deferred' [-Wmissing-prototypes]
     119 | void __weak bpf_prog_termination_deferred(struct work_struct *work)
         |             ^
   kernel/bpf/core.c:119:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     119 | void __weak bpf_prog_termination_deferred(struct work_struct *work)
         | ^
         | static 
>> kernel/bpf/core.c:124:13: warning: no previous prototype for function 'bpf_softlockup' [-Wmissing-prototypes]
     124 | void __weak bpf_softlockup(u32 dur_s)
         |             ^
   kernel/bpf/core.c:124:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     124 | void __weak bpf_softlockup(u32 dur_s)
         | ^
         | static 
   4 warnings generated.


vim +/in_place_patch_bpf_prog +109 kernel/bpf/core.c

   107	
   108	
 > 109	void __weak in_place_patch_bpf_prog(struct bpf_prog *prog)
   110	{
   111		return;
   112	}
   113	
 > 114	void __weak bpf_die(struct bpf_prog *prog)
   115	{
   116		return;
   117	}
   118	
 > 119	void __weak bpf_prog_termination_deferred(struct work_struct *work)
   120	{
   121		return;
   122	}
   123	
 > 124	void __weak bpf_softlockup(u32 dur_s)
   125	{
   126		return;
   127	}
   128	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux