Re: [PATCH] smb: client: hide unused cifs_debug_dirs_proc_ops
From: kernel test robot
Date: Wed Apr 29 2026 - 19:07:26 EST
Hi Arnd,
kernel test robot noticed the following build errors:
[auto build test ERROR on next-20260424]
[also build test ERROR on linus/master v7.1-rc1]
[cannot apply to v7.0 v7.0-rc7 v7.0-rc6]
[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/Arnd-Bergmann/smb-client-hide-unused-cifs_debug_dirs_proc_ops/20260426-163431
base: next-20260424
patch link: https://lore.kernel.org/r/20260423065042.1898971-1-arnd%40kernel.org
patch subject: [PATCH] smb: client: hide unused cifs_debug_dirs_proc_ops
config: microblaze-defconfig (https://download.01.org/0day-ci/archive/20260430/202604300622.95X1Ab1U-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604300622.95X1Ab1U-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/202604300622.95X1Ab1U-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
fs/smb/client/cifs_debug.c: In function 'cifs_proc_init':
>> fs/smb/client/cifs_debug.c:937:55: error: 'cifs_debug_dirs_proc_ops' undeclared (first use in this function); did you mean 'cifs_debug_dirs_proc_show'?
937 | proc_create("open_dirs", 0600, proc_fs_cifs, &cifs_debug_dirs_proc_ops);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| cifs_debug_dirs_proc_show
fs/smb/client/cifs_debug.c:937:55: note: each undeclared identifier is reported only once for each function it appears in
fs/smb/client/cifs_debug.c: At top level:
fs/smb/client/cifs_debug.c:298:12: warning: 'cifs_debug_dirs_proc_show' defined but not used [-Wunused-function]
298 | static int cifs_debug_dirs_proc_show(struct seq_file *m, void *v)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +937 fs/smb/client/cifs_debug.c
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 922
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 923 void
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 924 cifs_proc_init(void)
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 925 {
36a5aeb8787fbf fs/cifs/cifs_debug.c Alexey Dobriyan 2008-04-29 926 proc_fs_cifs = proc_mkdir("fs/cifs", NULL);
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 927 if (proc_fs_cifs == NULL)
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 928 return;
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 929
3f3942aca6da35 fs/cifs/cifs_debug.c Christoph Hellwig 2018-05-15 930 proc_create_single("DebugData", 0, proc_fs_cifs,
3f3942aca6da35 fs/cifs/cifs_debug.c Christoph Hellwig 2018-05-15 931 cifs_debug_data_proc_show);
^1da177e4c3f41 fs/cifs/cifs_debug.c Linus Torvalds 2005-04-16 932
dfe33f9abc0899 fs/cifs/cifs_debug.c Steve French 2018-10-30 933 proc_create_single("open_files", 0400, proc_fs_cifs,
dfe33f9abc0899 fs/cifs/cifs_debug.c Steve French 2018-10-30 934 cifs_debug_files_proc_show);
dfe33f9abc0899 fs/cifs/cifs_debug.c Steve French 2018-10-30 935
17d912d54f2305 fs/smb/client/cifs_debug.c Enzo Matsumiya 2026-04-22 936 #ifdef CONFIG_CIFS_DEBUG
17d912d54f2305 fs/smb/client/cifs_debug.c Enzo Matsumiya 2026-04-22 @937 proc_create("open_dirs", 0600, proc_fs_cifs, &cifs_debug_dirs_proc_ops);
17d912d54f2305 fs/smb/client/cifs_debug.c Enzo Matsumiya 2026-04-22 938 #else /* CONFIG_CIFS_DEBUG */
17d912d54f2305 fs/smb/client/cifs_debug.c Enzo Matsumiya 2026-04-22 939 proc_create_single("open_dirs", 0400, proc_fs_cifs, cifs_debug_dirs_proc_show);
17d912d54f2305 fs/smb/client/cifs_debug.c Enzo Matsumiya 2026-04-22 940 #endif /* !CONFIG_CIFS_DEBUG */
97a32539b9568b fs/cifs/cifs_debug.c Alexey Dobriyan 2020-02-03 941 proc_create("Stats", 0644, proc_fs_cifs, &cifs_stats_proc_ops);
97a32539b9568b fs/cifs/cifs_debug.c Alexey Dobriyan 2020-02-03 942 proc_create("cifsFYI", 0644, proc_fs_cifs, &cifsFYI_proc_ops);
97a32539b9568b fs/cifs/cifs_debug.c Alexey Dobriyan 2020-02-03 943 proc_create("traceSMB", 0644, proc_fs_cifs, &traceSMB_proc_ops);
6539e7f3727ab9 fs/cifs/cifs_debug.c Ronnie Sahlberg 2018-05-24 944 proc_create("LinuxExtensionsEnabled", 0644, proc_fs_cifs,
97a32539b9568b fs/cifs/cifs_debug.c Alexey Dobriyan 2020-02-03 945 &cifs_linux_ext_proc_ops);
6539e7f3727ab9 fs/cifs/cifs_debug.c Ronnie Sahlberg 2018-05-24 946 proc_create("SecurityFlags", 0644, proc_fs_cifs,
97a32539b9568b fs/cifs/cifs_debug.c Alexey Dobriyan 2020-02-03 947 &cifs_security_flags_proc_ops);
6539e7f3727ab9 fs/cifs/cifs_debug.c Ronnie Sahlberg 2018-05-24 948 proc_create("LookupCacheEnabled", 0644, proc_fs_cifs,
97a32539b9568b fs/cifs/cifs_debug.c Alexey Dobriyan 2020-02-03 949 &cifs_lookup_cache_proc_ops);
54be1f6c1c3749 fs/cifs/cifs_debug.c Paulo Alcantara 2018-11-14 950
94b0595a8e018c fs/cifs/cifs_debug.c Aurelien Aptel 2021-03-18 951 proc_create("mount_params", 0444, proc_fs_cifs, &cifs_mount_params_proc_ops);
94b0595a8e018c fs/cifs/cifs_debug.c Aurelien Aptel 2021-03-18 952
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki