Hi Fidal, kernel test robot noticed the following build warnings:
[auto build test WARNING on trace/for-next] [also build test WARNING on linus/master v6.17-rc4 next-20250905] [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/Fidal-Palamparambil/tracing-Fix-multiple-issues-in-trace_printk-module-handling/20250906-214415 base: https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace for-next patch link: https://lore.kernel.org/r/20250906134148.55-1-rootuserhere%40gmail.com patch subject: [PATCH] tracing: Fix multiple issues in trace_printk module handling config: powerpc-randconfig-r131-20250907 (https://download.01.org/0day-ci/archive/20250907/202509071540.gtxwwstz-...@intel.com/config) compiler: powerpc-linux-gcc (GCC) 13.4.0 reproduce: (https://download.01.org/0day-ci/archive/20250907/202509071540.gtxwwstz-...@intel.com/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 <l...@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202509071540.gtxwwstz-...@intel.com/ sparse warnings: (new ones prefixed by >>) >> kernel/trace/trace_printk.c:388:16: sparse: sparse: incorrect type in >> assignment (different base types) @@ expected struct dentry *dentry @@ >> got int @@ kernel/trace/trace_printk.c:388:16: sparse: expected struct dentry *dentry kernel/trace/trace_printk.c:388:16: sparse: got int vim +388 kernel/trace/trace_printk.c 383 384 static __init int init_trace_printk_function_export(void) 385 { 386 struct dentry *dentry; 387 > 388 dentry = tracing_init_dentry(); 389 if (IS_ERR(dentry)) 390 return 0; 391 392 trace_create_file("printk_formats", TRACE_MODE_READ, NULL, 393 NULL, &ftrace_formats_fops); 394 395 return 0; 396 } 397 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki