Hi Ming, I love your patch! Perhaps something to improve: [auto build test WARNING on dennis-percpu/for-next] [also build test WARNING on linus/master v6.1 next-20221216] [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/Ming-Lei/lib-percpu-refcount-fix-use-after-free-by-late-release/20221214-105440 base: https://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git for-next patch link: https://lore.kernel.org/r/20221214025101.1268437-4-ming.lei%40redhat.com patch subject: [PATCH 3/3] lib/percpu-refcount: drain ->release() in perpcu_ref_exit() config: alpha-randconfig-s053-20221216 compiler: alpha-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/29f8a1f1e11734bdaf885ad8e9bcd614c2087fc0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Ming-Lei/lib-percpu-refcount-fix-use-after-free-by-late-release/20221214-105440 git checkout 29f8a1f1e11734bdaf885ad8e9bcd614c2087fc0 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=alpha SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> lib/percpu-refcount.c:499:48: sparse: sparse: non-ANSI function declaration of function 'percpu_ref_get_switch_waitq' vim +/percpu_ref_get_switch_waitq +499 lib/percpu-refcount.c 498 > 499 wait_queue_head_t *percpu_ref_get_switch_waitq() -- 0-DAY CI Kernel Test Service https://01.org/lkp