[cifs:for-next 17/19] fs/smb/client/cifsglob.h:162:26: warning: 'cifs_reparse_type_str' defined but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/202402262152.YZOwDlCM-lkp@xxxxxxxxx/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/202402262152.YZOwDlCM-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/202402262152.YZOwDlCM-lkp@xxxxxxxxx/

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	

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




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux