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

From: kernel test robot
Date: Sun Oct 06 2024 - 01:11:06 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: x86_64-buildonly-randconfig-004-20241006 (https://download.01.org/0day-ci/archive/20241006/202410061202.rhZIs2gr-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241006/202410061202.rhZIs2gr-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/202410061202.rhZIs2gr-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

mm/shmem.c:1608:20: warning: unused function 'shmem_show_mpol' [-Wunused-function]
1608 | static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol)
| ^~~~~~~~~~~~~~~
>> mm/shmem.c:4717:39: warning: unused variable 'shmem_ci_dentry_ops' [-Wunused-const-variable]
4717 | static const struct dentry_operations shmem_ci_dentry_ops = {
| ^~~~~~~~~~~~~~~~~~~
2 warnings generated.


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