CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Jeff Xie <[email protected]>
Hi Jeff, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on rostedt-trace/for-next] [also build test WARNING on linux/master linus/master v5.16-rc3 next-20211203] [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] url: https://github.com/0day-ci/linux/commits/Jeff-Xie/trace-Introduce-objtrace-trigger-to-trace-the-kernel-object/20211130-041958 base: https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next :::::: branch date: 4 days ago :::::: commit date: 4 days ago config: i386-randconfig-m021-20211128 (https://download.01.org/0day-ci/archive/20211204/[email protected]/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> smatch warnings: kernel/trace/trace_object.c:533 exit_trace_object() error: uninitialized symbol 'ret'. vim +/ret +533 kernel/trace/trace_object.c 88ea43d691b098 Jeff Xie 2021-11-30 513 88ea43d691b098 Jeff Xie 2021-11-30 514 static int exit_trace_object(void) 88ea43d691b098 Jeff Xie 2021-11-30 515 { 88ea43d691b098 Jeff Xie 2021-11-30 516 int ret; 88ea43d691b098 Jeff Xie 2021-11-30 517 88ea43d691b098 Jeff Xie 2021-11-30 518 if (WARN_ON_ONCE(atomic_read(&trace_object_ref) <= 0)) 88ea43d691b098 Jeff Xie 2021-11-30 519 goto out; 88ea43d691b098 Jeff Xie 2021-11-30 520 88ea43d691b098 Jeff Xie 2021-11-30 521 if (atomic_dec_return(&trace_object_ref) != 0) { 88ea43d691b098 Jeff Xie 2021-11-30 522 ret = 0; 88ea43d691b098 Jeff Xie 2021-11-30 523 goto out; 88ea43d691b098 Jeff Xie 2021-11-30 524 } 88ea43d691b098 Jeff Xie 2021-11-30 525 88ea43d691b098 Jeff Xie 2021-11-30 526 ret = unregister_ftrace_function(&trace_ops); 88ea43d691b098 Jeff Xie 2021-11-30 527 if (ret) { 88ea43d691b098 Jeff Xie 2021-11-30 528 pr_err("can't unregister ftrace for trace object\n"); 88ea43d691b098 Jeff Xie 2021-11-30 529 goto out; 88ea43d691b098 Jeff Xie 2021-11-30 530 } 88ea43d691b098 Jeff Xie 2021-11-30 531 free_object_pool(); 88ea43d691b098 Jeff Xie 2021-11-30 532 out: 88ea43d691b098 Jeff Xie 2021-11-30 @533 return ret; --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
