tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 62c97045b8f720c2eac807a5f38e26c9ed512371 commit: 8646db238997df36c6ad71a9d7e0b52ceee221b2 [7010/8016] libbpf,bpf: Share BTF relocate-related code with kernel config: x86_64-randconfig-123-20240624 (https://download.01.org/0day-ci/archive/20240625/202406250808.rsBmro61-lkp@xxxxxxxxx/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240625/202406250808.rsBmro61-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/202406250808.rsBmro61-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> tools/lib/bpf/btf_relocate.c:61:25: sparse: sparse: dubious one-bit signed bitfield vim +61 tools/lib/bpf/btf_relocate.c 19e00c897d5031 Alan Maguire 2024-06-13 56 19e00c897d5031 Alan Maguire 2024-06-13 57 /* <name, size, id> triple used in sorting/searching distilled base BTF. */ 19e00c897d5031 Alan Maguire 2024-06-13 58 struct btf_name_info { 19e00c897d5031 Alan Maguire 2024-06-13 59 const char *name; 19e00c897d5031 Alan Maguire 2024-06-13 60 /* set when search requires a size match */ 19e00c897d5031 Alan Maguire 2024-06-13 @61 int needs_size:1, 19e00c897d5031 Alan Maguire 2024-06-13 62 size:31; 19e00c897d5031 Alan Maguire 2024-06-13 63 __u32 id; 19e00c897d5031 Alan Maguire 2024-06-13 64 }; 19e00c897d5031 Alan Maguire 2024-06-13 65 :::::: The code at line 61 was first introduced by commit :::::: 19e00c897d5031bed969dd79af28e899e038009f libbpf: Split BTF relocation :::::: TO: Alan Maguire <alan.maguire@xxxxxxxxxx> :::::: CC: Andrii Nakryiko <andrii@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki