All of lore.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: 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 07:31:28 +0800	[thread overview]
Message-ID: <202108110747.1igdWumJ-lkp@intel.com> (raw)
In-Reply-To: <162862956133.263874.4169713012198608705.stgit@klimt.1015granger.net>

[-- Attachment #1: Type: text/plain, Size: 2418 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: xtensa-nommu_kc705_defconfig (attached as .config)
compiler: xtensa-de212-linux-gcc (GCC) 10.3.0
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=gcc-10.3.0 make.cross ARCH=xtensa 

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: In function 'sunrpc_debugfs_init':
>> net/sunrpc/debugfs.c:346:2: error: implicit declaration of function 'fail_sunrpc_init' [-Werror=implicit-function-declaration]
     346 |  fail_sunrpc_init();
         |  ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


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: 12158 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: 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 07:31:28 +0800	[thread overview]
Message-ID: <202108110747.1igdWumJ-lkp@intel.com> (raw)
In-Reply-To: <162862956133.263874.4169713012198608705.stgit@klimt.1015granger.net>

[-- Attachment #1: Type: text/plain, Size: 2480 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: xtensa-nommu_kc705_defconfig (attached as .config)
compiler: xtensa-de212-linux-gcc (GCC) 10.3.0
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=gcc-10.3.0 make.cross ARCH=xtensa 

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: In function 'sunrpc_debugfs_init':
>> net/sunrpc/debugfs.c:346:2: error: implicit declaration of function 'fail_sunrpc_init' [-Werror=implicit-function-declaration]
     346 |  fail_sunrpc_init();
         |  ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


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(a)lists.01.org

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

  reply	other threads:[~2021-08-10 23:32 UTC|newest]

Thread overview: 13+ 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 [this message]
2021-08-10 23:31     ` kernel test robot
2021-08-11  6:26   ` kernel test robot
2021-08-11  6:26     ` kernel test robot
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-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-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=202108110747.1igdWumJ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chuck.lever@oracle.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 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.