[PATCH 07/12] bpf: Return hashes of maps in BPF_OBJ_GET_INFO_BY_FD

kernel test robot lkp at intel.com
Sun Jun 8 13:11:34 UTC 2025


Hi KP,

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 next-20250606]
[cannot apply to v6.15]
[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/KP-Singh/bpf-Implement-an-internal-helper-for-SHA256-hashing/20250607-073052
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git net
patch link:    https://lore.kernel.org/r/20250606232914.317094-8-kpsingh%40kernel.org
patch subject: [PATCH 07/12] bpf: Return hashes of maps in BPF_OBJ_GET_INFO_BY_FD
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)

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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506082011.6Tejyd72-lkp@intel.com/

includecheck warnings: (new ones prefixed by >>)
>> include/linux/bpf.h: crypto/sha2.h is included more than once.

vim +10 include/linux/bpf.h

     9	
  > 10	#include <crypto/sha2.h>
    11	#include <linux/workqueue.h>
    12	#include <linux/file.h>
    13	#include <linux/percpu.h>
    14	#include <linux/err.h>
    15	#include <linux/rbtree_latch.h>
    16	#include <linux/numa.h>
    17	#include <linux/mm_types.h>
    18	#include <linux/wait.h>
    19	#include <linux/refcount.h>
    20	#include <linux/mutex.h>
    21	#include <linux/module.h>
    22	#include <linux/kallsyms.h>
    23	#include <linux/capability.h>
    24	#include <linux/sched/mm.h>
    25	#include <linux/slab.h>
    26	#include <linux/percpu-refcount.h>
    27	#include <linux/stddef.h>
    28	#include <linux/bpfptr.h>
    29	#include <linux/btf.h>
    30	#include <linux/rcupdate_trace.h>
    31	#include <linux/static_call.h>
    32	#include <linux/memcontrol.h>
    33	#include <linux/cfi.h>
    34	#include <asm/rqspinlock.h>
  > 35	#include <crypto/sha2.h>
    36	

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



More information about the Linux-security-module-archive mailing list