tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 21ef7b1e17d039053edaeaf41142423810572741 commit: c3c510ce431cd99fa10dcd50d995c8e89330ee5b [2424/8441] bpf: Add 'owner' field to bpf_{list,rb}_node config: alpha-randconfig-r093-20230809 (https://download.01.org/0day-ci/archive/20230810/202308100149.2rvEPRIG-lkp@xxxxxxxxx/config) compiler: alpha-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230810/202308100149.2rvEPRIG-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/202308100149.2rvEPRIG-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) kernel/bpf/helpers.c: note: in included file (through arch/alpha/include/asm/cmpxchg.h, arch/alpha/include/asm/atomic.h, include/linux/atomic.h, ...): >> arch/alpha/include/asm/xchg.h:234:32: sparse: sparse: cast truncates bits from constant value (eb9f becomes 9f) >> arch/alpha/include/asm/xchg.h:234:32: sparse: sparse: cast truncates bits from constant value (eb9f becomes 9f) kernel/bpf/helpers.c:2419:18: sparse: sparse: context imbalance in 'bpf_rcu_read_lock' - wrong count at exit kernel/bpf/helpers.c:2424:18: sparse: sparse: context imbalance in 'bpf_rcu_read_unlock' - unexpected unlock vim +234 arch/alpha/include/asm/xchg.h a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 227 a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 228 static __always_inline unsigned long a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 229 ____cmpxchg(, volatile void *ptr, unsigned long old, unsigned long new, a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 230 int size) a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 231 { a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 232 switch (size) { a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 233 case 1: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 @234 return ____cmpxchg(_u8, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 235 case 2: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 236 return ____cmpxchg(_u16, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 237 case 4: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 238 return ____cmpxchg(_u32, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 239 case 8: a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 240 return ____cmpxchg(_u64, ptr, old, new); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 241 } a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 242 __cmpxchg_called_with_bad_pointer(); a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 243 return old; a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 244 } a6209d6d71f2ab Ivan Kokshaysky 2009-03-31 245 :::::: The code at line 234 was first introduced by commit :::::: a6209d6d71f2ab8c63cc1587ef65490d83022baf alpha: xchg/cmpxchg cleanup and fixes :::::: TO: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki