* [linux-next:master 7010/8016] tools/lib/bpf/btf_relocate.c:61:25: sparse: sparse: dubious one-bit signed bitfield
@ 2024-06-25 0:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-25 0:26 UTC (permalink / raw)
To: Alan Maguire; +Cc: oe-kbuild-all, Linux Memory Management List, Andrii Nakryiko
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@intel.com/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@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/202406250808.rsBmro61-lkp@intel.com/
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@oracle.com>
:::::: CC: Andrii Nakryiko <andrii@kernel.org>
--
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-06-25 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-25 0:26 [linux-next:master 7010/8016] tools/lib/bpf/btf_relocate.c:61:25: sparse: sparse: dubious one-bit signed bitfield 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