tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 736b6d81d93cf61a0601af90bd552103ef997b3f commit: fda01efc61605af7c6fa03c4109f14d59c9228b7 [9653/10068] bpf: Enable cgroups to be used as kptrs config: x86_64-randconfig-a006-20221121 compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fda01efc61605af7c6fa03c4109f14d59c9228b7 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout fda01efc61605af7c6fa03c4109f14d59c9228b7 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash kernel/bpf/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/bpf/helpers.c:2005:40: warning: multiple unsequenced modifications to 'idx' [-Wunsequenced] .btf_id = generic_dtor_ids[idx++], ^ 1 warning generated. vim +/idx +2005 kernel/bpf/helpers.c 1999 2000 static int __init kfunc_init(void) 2001 { 2002 int ret, idx = 0; 2003 const struct btf_id_dtor_kfunc generic_dtors[] = { 2004 { > 2005 .btf_id = generic_dtor_ids[idx++], 2006 .kfunc_btf_id = generic_dtor_ids[idx++] 2007 }, 2008 #ifdef CONFIG_CGROUPS 2009 { 2010 .btf_id = generic_dtor_ids[idx++], 2011 .kfunc_btf_id = generic_dtor_ids[idx++] 2012 }, 2013 #endif 2014 }; 2015 2016 ret = register_btf_kfunc_id_set(BPF_PROG_TYPE_TRACING, &generic_kfunc_set); 2017 ret = ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_SCHED_CLS, &generic_kfunc_set); 2018 ret = ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_STRUCT_OPS, &generic_kfunc_set); 2019 ret = ret ?: register_btf_id_dtor_kfuncs(generic_dtors, 2020 ARRAY_SIZE(generic_dtors), 2021 THIS_MODULE); 2022 return ret ?: register_btf_kfunc_id_set(BPF_PROG_TYPE_UNSPEC, &common_kfunc_set); 2023 } 2024 -- 0-DAY CI Kernel Test Service https://01.org/lkp