tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.debugfs head: e98a67d7c1e4a22fa9b851507e25ecdc5b8cea6d commit: 3c2d1b64cb4320860923a2097f5891efa2d7060e [17/18] slub: don't mess with ->d_name config: x86_64-buildonly-randconfig-002-20241226 (https://download.01.org/0day-ci/archive/20241226/202412261018.IBubSniL-lkp@xxxxxxxxx/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241226/202412261018.IBubSniL-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/202412261018.IBubSniL-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from mm/slub.c:49: In file included from mm/internal.h:13: include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~ ^ ~~~ include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 49 | NR_ZONE_LRU_BASE + lru, nr_pages); | ~~~~~~~~~~~~~~~~ ^ ~~~ >> mm/slub.c:7576:38: error: too many arguments provided to function-like macro invocation 7576 | (void *)(unsigned long)TRACK_FREE, &slab_debugfs_fops); | ^ include/linux/debugfs.h:125:9: note: macro 'debugfs_create_file' defined here 125 | #define debugfs_create_file(name, mode, parent, data, fops) \ | ^ >> mm/slub.c:7575:2: error: use of undeclared identifier 'debugfs_create_file' 7575 | debugfs_create_file("free_traces", 0400, slab_cache_dir, s, | ^ 2 warnings and 2 errors generated. vim +7576 mm/slub.c 7562 7563 static void debugfs_slab_add(struct kmem_cache *s) 7564 { 7565 struct dentry *slab_cache_dir; 7566 7567 if (unlikely(!slab_debugfs_root)) 7568 return; 7569 7570 slab_cache_dir = debugfs_create_dir(s->name, slab_debugfs_root); 7571 7572 debugfs_create_file_aux("alloc_traces", 0400, slab_cache_dir, s, 7573 (void *)(unsigned long)TRACK_ALLOC, &slab_debugfs_fops); 7574 > 7575 debugfs_create_file("free_traces", 0400, slab_cache_dir, s, > 7576 (void *)(unsigned long)TRACK_FREE, &slab_debugfs_fops); 7577 } 7578 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki