public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chuck Lever <chuck.lever@oracle.com>, linux-nfs@vger.kernel.org
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org
Subject: Re: [PATCH v2 1/4] SUNRPC: Add a /sys/kernel/debug/fail_sunrpc/ directory
Date: Wed, 11 Aug 2021 14:26:57 +0800	[thread overview]
Message-ID: <202108111407.0MRefZf8-lkp@intel.com> (raw)
In-Reply-To: <162862956133.263874.4169713012198608705.stgit@klimt.1015granger.net>

[-- Attachment #1: Type: text/plain, Size: 2382 bytes --]

Hi Chuck,

I love your patch! Yet something to improve:

[auto build test ERROR on nfs/linux-next]
[also build test ERROR on linus/master v5.14-rc5 next-20210810]
[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]

url:    https://github.com/0day-ci/linux/commits/Chuck-Lever/SunRPC-fault-injection/20210811-050828
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: x86_64-randconfig-a006-20210811 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d39ebdae674c8efc84ebe8dc32716ec353220530)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/fe621cd68ac79d864276194e88bf1384505db10b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Chuck-Lever/SunRPC-fault-injection/20210811-050828
        git checkout fe621cd68ac79d864276194e88bf1384505db10b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> net/sunrpc/debugfs.c:346:2: error: implicit declaration of function 'fail_sunrpc_init' [-Werror,-Wimplicit-function-declaration]
           fail_sunrpc_init();
           ^
   1 error generated.


vim +/fail_sunrpc_init +346 net/sunrpc/debugfs.c

   329	
   330	void __init
   331	sunrpc_debugfs_init(void)
   332	{
   333		struct dentry *rpc_fault_dir;
   334	
   335		topdir = debugfs_create_dir("sunrpc", NULL);
   336	
   337		rpc_clnt_dir = debugfs_create_dir("rpc_clnt", topdir);
   338	
   339		rpc_xprt_dir = debugfs_create_dir("rpc_xprt", topdir);
   340	
   341		rpc_fault_dir = debugfs_create_dir("inject_fault", topdir);
   342	
   343		debugfs_create_file("disconnect", S_IFREG | 0400, rpc_fault_dir, NULL,
   344				    &fault_disconnect_fops);
   345	
 > 346		fail_sunrpc_init();

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39081 bytes --]

  parent reply	other threads:[~2021-08-11  6:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 21:05 [PATCH v2 0/4] SunRPC fault injection Chuck Lever
2021-08-10 21:06 ` [PATCH v2 1/4] SUNRPC: Add a /sys/kernel/debug/fail_sunrpc/ directory Chuck Lever
2021-08-10 23:31   ` kernel test robot
2021-08-11  6:26   ` kernel test robot [this message]
2021-08-10 21:06 ` [PATCH v2 2/4] SUNRPC: Server-side disconnect injection Chuck Lever
2021-08-11 10:39   ` kernel test robot
2021-08-10 21:06 ` [PATCH v2 3/4] SUNRPC: Move client-side " Chuck Lever
2021-08-11  4:08   ` kernel test robot
2021-08-10 21:06 ` [PATCH v2 4/4] SUNRPC: Add documentation for the fail_sunrpc/ directory Chuck Lever

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=202108111407.0MRefZf8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chuck.lever@oracle.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-nfs@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox