All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Enzo Matsumiya <ematsumiya@suse.de>
Cc: oe-kbuild-all@lists.linux.dev, Steve French <stfrench@microsoft.com>
Subject: [linux-next:master 14382/14612] fs/smb/client/cifs_debug.c:395:30: warning: 'cifs_debug_dirs_proc_ops' defined but not used
Date: Thu, 23 Apr 2026 11:03:06 +0800	[thread overview]
Message-ID: <202604231025.zaEpIOHy-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   70c8a7ec6715b5fb14e501731b5b9210a16684f7
commit: 63bff18d4aa02fa595f7e8582543c6f92c4f9fbc [14382/14612] smb: client: fix (remove) drop_dir_cache module parameter
config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260423/202604231025.zaEpIOHy-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260423/202604231025.zaEpIOHy-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604231025.zaEpIOHy-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/smb/client/cifs_debug.c:395:30: warning: 'cifs_debug_dirs_proc_ops' defined but not used [-Wunused-const-variable=]
     395 | static const struct proc_ops cifs_debug_dirs_proc_ops = {
         |                              ^~~~~~~~~~~~~~~~~~~~~~~~


vim +/cifs_debug_dirs_proc_ops +395 fs/smb/client/cifs_debug.c

   394	
 > 395	static const struct proc_ops cifs_debug_dirs_proc_ops = {
   396		.proc_open	= cifs_debug_dirs_proc_open,
   397		.proc_read	= seq_read,
   398		.proc_lseek	= seq_lseek,
   399		.proc_release	= single_release,
   400		.proc_write	= cifs_debug_dirs_proc_write,
   401	};
   402	#endif /* CONFIG_CIFS_DEBUG */
   403	

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

             reply	other threads:[~2026-04-23  3:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-23  3:03 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-04-23  2:45 [linux-next:master 14382/14612] fs/smb/client/cifs_debug.c:395:30: warning: 'cifs_debug_dirs_proc_ops' defined but not used kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202604231025.zaEpIOHy-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ematsumiya@suse.de \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=stfrench@microsoft.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.