All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Josef Bacik <josef@toxicpanda.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Trond Myklebust <trond.myklebust@hammerspace.com>
Subject: [trondmy-nfs-2.6:testing 17/25] fs/nfs/client.c:79:17: sparse: sparse: symbol 'nfs_rpcstat' was not declared. Should it be static?
Date: Tue, 5 Mar 2024 22:20:38 +0800	[thread overview]
Message-ID: <202403052224.JVWKnlic-lkp@intel.com> (raw)

tree:   git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git testing
head:   7285dad0bccf26a41dff605f0437f2c6090dc972
commit: 4e5a299e9e79b9dc221a18752f7d5a324a12ead3 [17/25] nfs: make the rpc_stat per net namespace
config: x86_64-randconfig-123-20240305 (https://download.01.org/0day-ci/archive/20240305/202403052224.JVWKnlic-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240305/202403052224.JVWKnlic-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/202403052224.JVWKnlic-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> fs/nfs/client.c:79:17: sparse: sparse: symbol 'nfs_rpcstat' was not declared. Should it be static?
   fs/nfs/client.c: note: in included file (through include/linux/module.h):
   include/linux/list.h:229:25: sparse: sparse: context imbalance in 'nfs_put_client' - unexpected unlock

vim +/nfs_rpcstat +79 fs/nfs/client.c

5006a76cca8f86 David Howells 2006-08-22  78  
5006a76cca8f86 David Howells 2006-08-22 @79  struct rpc_stat nfs_rpcstat = {
5006a76cca8f86 David Howells 2006-08-22  80  	.program		= &nfs_program
5006a76cca8f86 David Howells 2006-08-22  81  };
5006a76cca8f86 David Howells 2006-08-22  82  

:::::: The code at line 79 was first introduced by commit
:::::: 5006a76cca8f86c6975c16fcf67e83b8b0eee2b6 NFS: Eliminate client_sys in favour of cl_rpcclient

:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: Trond Myklebust <Trond.Myklebust@netapp.com>

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

             reply	other threads:[~2024-03-05 14:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-05 14:20 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-07  0:50 [trondmy-nfs-2.6:testing 17/25] fs/nfs/client.c:79:17: sparse: sparse: symbol 'nfs_rpcstat' was not declared. Should it be static? 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=202403052224.JVWKnlic-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=josef@toxicpanda.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=trond.myklebust@hammerspace.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.