* Re: [RFC PATCH] bpf: Using binary search to improve the performance of btf_find_by_name_kind
[not found] <20230909055202.306518-1-pengdonglin@sangfor.com.cn>
@ 2023-09-09 8:49 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-09 8:49 UTC (permalink / raw)
To: Donglin Peng; +Cc: llvm, oe-kbuild-all
Hi Donglin,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on bpf-next/master]
[also build test WARNING on bpf/master linus/master v6.5 next-20230908]
[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/Donglin-Peng/bpf-Using-binary-search-to-improve-the-performance-of-btf_find_by_name_kind/20230909-140210
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/r/20230909055202.306518-1-pengdonglin%40sangfor.com.cn
patch subject: [RFC PATCH] bpf: Using binary search to improve the performance of btf_find_by_name_kind
config: x86_64-buildonly-randconfig-005-20230909 (https://download.01.org/0day-ci/archive/20230909/202309091645.Le0RojYK-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230909/202309091645.Le0RojYK-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/202309091645.Le0RojYK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/bpf/btf.c:557:5: warning: no previous prototype for function 'btf_type_cnt' [-Wmissing-prototypes]
u32 btf_type_cnt(const struct btf *btf)
^
kernel/bpf/btf.c:557:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
u32 btf_type_cnt(const struct btf *btf)
^
static
1 warning generated.
vim +/btf_type_cnt +557 kernel/bpf/btf.c
556
> 557 u32 btf_type_cnt(const struct btf *btf)
558 {
559 return btf->start_id + btf->nr_types;
560 }
561
--
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:[~2023-09-09 8:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230909055202.306518-1-pengdonglin@sangfor.com.cn>
2023-09-09 8:49 ` [RFC PATCH] bpf: Using binary search to improve the performance of btf_find_by_name_kind 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