Hi André, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on linus/master v6.11-rc5 next-20240826] [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/Andr-Almeida/tmpfs-Add-casefold-lookup-support/20240826-135457 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240823173332.281211-2-andrealmeid%40igalia.com patch subject: [PATCH 1/5] tmpfs: Add casefold lookup support config: openrisc-allnoconfig (https://download.01.org/0day-ci/archive/20240827/202408270609.Nj6iM21E-lkp@xxxxxxxxx/config) compiler: or1k-linux-gcc (GCC) 14.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240827/202408270609.Nj6iM21E-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/202408270609.Nj6iM21E-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> mm/shmem.c:4874:23: warning: 'shmem_lookup' defined but not used [-Wunused-function] 4874 | static struct dentry *shmem_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) | ^~~~~~~~~~~~ vim +/shmem_lookup +4874 mm/shmem.c 4873 > 4874 static struct dentry *shmem_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) 4875 { 4876 if (dentry->d_name.len > NAME_MAX) 4877 return ERR_PTR(-ENAMETOOLONG); 4878 4879 /* 4880 * For now, VFS can't deal with case-insensitive negative dentries, so 4881 * we prevent them from being created 4882 */ 4883 if (IS_CASEFOLDED(dir)) 4884 return NULL; 4885 4886 d_add(dentry, NULL); 4887 4888 return NULL; 4889 } 4890 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki