CC: kbuild-...@lists.01.org CC: linux-ker...@vger.kernel.org TO: Zong Li <zong...@sifive.com> CC: Palmer Dabbelt <palmerdabb...@google.com> CC: Masami Hiramatsu <mhira...@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8e29be3468d4565dd95fbb098df0d7a79ee60d71 commit: 0ff7c3b331276f584bde3ae9a16bacd8fa3d01e6 riscv: Use text_mutex instead of patch_lock date: 11 months ago :::::: branch date: 2 hours ago :::::: commit date: 11 months ago config: riscv-randconfig-s032-20210404 (attached as .config) compiler: riscv64-linux-gcc (GCC) 9.3.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.3-279-g6d5d9b42-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0ff7c3b331276f584bde3ae9a16bacd8fa3d01e6 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 0ff7c3b331276f584bde3ae9a16bacd8fa3d01e6 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <l...@intel.com> sparse warnings: (new ones prefixed by >>) >> arch/riscv/kernel/ftrace.c:15:5: sparse: sparse: context imbalance in >> 'ftrace_arch_code_modify_prepare' - wrong count at exit >> arch/riscv/kernel/ftrace.c:21:5: sparse: sparse: context imbalance in >> 'ftrace_arch_code_modify_post_process' - wrong count at exit vim +/ftrace_arch_code_modify_prepare +15 arch/riscv/kernel/ftrace.c 10626c32e3827b Alan Kao 2017-12-18 13 c15ac4fd60d5ff Alan Kao 2018-02-13 14 #ifdef CONFIG_DYNAMIC_FTRACE 0ff7c3b331276f Zong Li 2020-04-21 @15 int ftrace_arch_code_modify_prepare(void) __acquires(&text_mutex) 0ff7c3b331276f Zong Li 2020-04-21 16 { 0ff7c3b331276f Zong Li 2020-04-21 17 mutex_lock(&text_mutex); 0ff7c3b331276f Zong Li 2020-04-21 18 return 0; 0ff7c3b331276f Zong Li 2020-04-21 19 } 0ff7c3b331276f Zong Li 2020-04-21 20 0ff7c3b331276f Zong Li 2020-04-21 @21 int ftrace_arch_code_modify_post_process(void) __releases(&text_mutex) 0ff7c3b331276f Zong Li 2020-04-21 22 { 0ff7c3b331276f Zong Li 2020-04-21 23 mutex_unlock(&text_mutex); 0ff7c3b331276f Zong Li 2020-04-21 24 return 0; 0ff7c3b331276f Zong Li 2020-04-21 25 } 0ff7c3b331276f Zong Li 2020-04-21 26 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org