Re: [PATCH v4 07/10] tmpfs: Add casefold lookup support
From: kernel test robot
Date: Fri Sep 13 2024 - 14:25:35 EST
Hi André,
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything]
[also build test WARNING on tytso-ext4/dev brauner-vfs/vfs.all linus/master v6.11-rc7 next-20240913]
[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/libfs-Create-the-helper-function-generic_ci_validate_strict_name/20240911-224740
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/20240911144502.115260-8-andrealmeid%40igalia.com
patch subject: [PATCH v4 07/10] tmpfs: Add casefold lookup support
config: csky-randconfig-002-20240913 (https://download.01.org/0day-ci/archive/20240914/202409140236.RR9Gbvqh-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240914/202409140236.RR9Gbvqh-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/202409140236.RR9Gbvqh-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> mm/shmem.c:4719:39: warning: 'shmem_ci_dentry_ops' defined but not used [-Wunused-const-variable=]
4719 | static const struct dentry_operations shmem_ci_dentry_ops = {
| ^~~~~~~~~~~~~~~~~~~
vim +/shmem_ci_dentry_ops +4719 mm/shmem.c
4717
4718 #if IS_ENABLED(CONFIG_UNICODE)
> 4719 static const struct dentry_operations shmem_ci_dentry_ops = {
4720 .d_hash = generic_ci_d_hash,
4721 .d_compare = generic_ci_d_compare,
4722 #ifdef CONFIG_FS_ENCRYPTION
4723 .d_revalidate = fscrypt_d_revalidate,
4724 #endif
4725 .d_delete = always_delete_dentry,
4726 };
4727 #endif
4728
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki