Re: [PATCH v5 07/10] tmpfs: Add casefold lookup support

From: kernel test robot
Date: Sat Oct 05 2024 - 18:48:43 EST


Hi André,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brauner-vfs/vfs.all]
[also build test WARNING on akpm-mm/mm-everything tytso-ext4/dev linus/master v6.12-rc1 next-20241004]
[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/20241003-074711
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20241002234444.398367-8-andrealmeid%40igalia.com
patch subject: [PATCH v5 07/10] tmpfs: Add casefold lookup support
config: arm-randconfig-001-20241006 (https://download.01.org/0day-ci/archive/20241006/202410060658.4QOeUy1M-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241006/202410060658.4QOeUy1M-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/202410060658.4QOeUy1M-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> mm/shmem.c:4717:39: warning: 'shmem_ci_dentry_ops' defined but not used [-Wunused-const-variable=]
4717 | static const struct dentry_operations shmem_ci_dentry_ops = {
| ^~~~~~~~~~~~~~~~~~~


vim +/shmem_ci_dentry_ops +4717 mm/shmem.c

4715
4716 #if IS_ENABLED(CONFIG_UNICODE)
> 4717 static const struct dentry_operations shmem_ci_dentry_ops = {
4718 .d_hash = generic_ci_d_hash,
4719 .d_compare = generic_ci_d_compare,
4720 .d_delete = always_delete_dentry,
4721 };
4722 #endif
4723

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki