Hi Chuck,
I love your patch! Yet something to improve:
[auto build test ERROR on nfs/linux-next]
[also build test ERROR on nfsd/nfsd-next linus/master v5.14-rc5 next-20210809]
[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-injecti...
base:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: arc-randconfig-r006-20210809 (attached as .config)
compiler: arceb-elf-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/f6324480d4b27a24f4df68d663ec3b56a...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Chuck-Lever/SunRPC-fault-injection/20210810-021150
git checkout f6324480d4b27a24f4df68d663ec3b56aeca60c0
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir
ARCH=arc SHELL=/bin/bash net/sunrpc/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from net/sunrpc/debugfs.c:13:
net/sunrpc/fail.h:12:20: error: field 'attr' has incomplete type
12 | struct fault_attr attr;
| ^~~~
> net/sunrpc/debugfs.c:303:12: error:
'FAULT_ATTR_INITIALIZER' undeclared here (not in a function)
303 |
.attr = FAULT_ATTR_INITIALIZER,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/FAULT_ATTR_INITIALIZER +303 net/sunrpc/debugfs.c
301
302 struct fail_sunrpc_attr fail_sunrpc = {
303 .attr = FAULT_ATTR_INITIALIZER,
304 };
305
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org