tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.debugfs head: b41a25033d7a1783290826fb565d082a0c7a55c4 commit: b41a25033d7a1783290826fb565d082a0c7a55c4 [20/20] saner replacement for debugfs_rename() config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20241229/202412291401.hdkqgI9s-lkp@xxxxxxxxx/config) compiler: m68k-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241229/202412291401.hdkqgI9s-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202412291401.hdkqgI9s-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from kernel/panic.c:35: include/linux/debugfs.h: In function 'debugfs_change_name': >> include/linux/debugfs.h:366:16: error: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 366 | return ERR_PTR(-ENODEV); | ^~~~~~~~~~~~~~~~ vim +366 include/linux/debugfs.h c6468808149032 Nicolai Stange 2016-03-22 362 b41a25033d7a17 Al Viro 2024-12-28 363 static inline int __printf(2, 3) debugfs_change_name(struct dentry *dentry, b41a25033d7a17 Al Viro 2024-12-28 364 const char *fmt, ...) cfc94cdf8e0f14 Jan Kara 2007-05-09 365 { cfc94cdf8e0f14 Jan Kara 2007-05-09 @366 return ERR_PTR(-ENODEV); cfc94cdf8e0f14 Jan Kara 2007-05-09 367 } cfc94cdf8e0f14 Jan Kara 2007-05-09 368 :::::: The code at line 366 was first introduced by commit :::::: cfc94cdf8e0f14e692a5a40ef3cc10f464b2511b debugfs: add rename for debugfs files :::::: TO: Jan Kara <jack@xxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki