Skip to contentSkip to conversation

fs/smb/client/cifsglob.h:162:26: warning: 'cifs_reparse_type_str' defined but not used

PATCH kernel test robot 1 participant 1 message Feb 26, 2024

Subsystems (2)
lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   git://git.samba.org/sfrench/cifs-2.6.git for-next
head:   5fae8cba6fedfdec784c69b803120ac074d48145
commit: d0adfca80208fa7ffbdd76eb701807de55c0e14b [17/19] smb: client: return reparse type in /proc/mounts
config: i386-randconfig-002-20240226 (https://download.01.org/0day-ci/archive/20240226/[email protected]/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240226/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

In file included from fs/smb/client/namespace.c:19:

>> fs/smb/client/cifsglob.h:162:26: warning: 'cifs_reparse_type_str' defined but not used [-Wunused-const-variable=]
     162 | static const char *const cifs_reparse_type_str[] = { "nfs", "wsl", };
         |                          ^~~~~~~~~~~~~~~~~~~~~

vim +/cifs_reparse_type_str +162 fs/smb/client/cifsglob.h

161

 > 162	static const char *const cifs_reparse_type_str[] = { "nfs", "wsl", };

163

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