Hi Chuck,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on nfs/linux-next]
[also build test ERROR on tip/perf/core nfsd/nfsd-next v5.9-rc5 next-20200917]
[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/NFSD-operation-monit...
base:
git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: ia64-randconfig-c004-20200917 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
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 arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/bvec.h:13,
from include/linux/skbuff.h:17,
from include/net/net_namespace.h:39,
from include/linux/inet.h:42,
from include/linux/sunrpc/msg_prot.h:202,
from include/linux/nfs4.h:19,
from fs/nfsd/trace.c:3:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but
not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/nfs4.h:16,
from fs/nfsd/trace.c:3:
fs/nfsd/xdr4.h: In function 'set_change_info':
> fs/nfsd/xdr4.h:769:13: error: 'struct svc_fh' has no
member named 'fh_pre_saved'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
fs/nfsd/xdr4.h:769:2: note: in expansion of macro 'BUG_ON'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~~~~~
In file included from fs/nfsd/trace.h:14,
from fs/nfsd/trace.c:6:
> fs/nfsd/xdr4.h:770:26: error: 'struct svc_fh' has no
member named 'fh_post_saved'
770 | cinfo->atomic =
(u32)fhp->fh_post_saved;
| ^~
> fs/nfsd/xdr4.h:773:28: error: 'struct svc_fh' has no
member named 'fh_pre_change'
773 | cinfo->before_change =
fhp->fh_pre_change;
| ^~
> fs/nfsd/xdr4.h:774:27: error: 'struct svc_fh' has no
member named 'fh_post_change'
774 | cinfo->after_change =
fhp->fh_post_change;
| ^~
> fs/nfsd/xdr4.h:775:31: error: 'struct svc_fh' has no
member named 'fh_pre_ctime'
775 | cinfo->before_ctime_sec =
fhp->fh_pre_ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:776:32: error: 'struct svc_fh' has no member named
'fh_pre_ctime'
776 | cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
| ^~
> fs/nfsd/xdr4.h:777:30: error: 'struct svc_fh' has no
member named 'fh_post_attr'
777 | cinfo->after_ctime_sec =
fhp->fh_post_attr.ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:778:31: error: 'struct svc_fh' has no member named
'fh_post_attr'
778 | cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
| ^~
--
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from arch/ia64/include/asm/uaccess.h:40,
from include/linux/uaccess.h:9,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/namei.h:5,
from fs/nfsd/export.c:16:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but
not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
In file included from include/asm-generic/bug.h:5,
from arch/ia64/include/asm/bug.h:17,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/gfp.h:5,
from include/linux/slab.h:15,
from fs/nfsd/export.c:15:
fs/nfsd/xdr4.h: In function 'set_change_info':
> fs/nfsd/xdr4.h:769:13: error: 'struct svc_fh' has no
member named 'fh_pre_saved'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
fs/nfsd/xdr4.h:769:2: note: in expansion of macro 'BUG_ON'
769 | BUG_ON(!fhp->fh_pre_saved);
| ^~~~~~
In file included from fs/nfsd/trace.h:14,
from fs/nfsd/export.c:26:
> fs/nfsd/xdr4.h:770:26: error: 'struct svc_fh' has no
member named 'fh_post_saved'
770 | cinfo->atomic =
(u32)fhp->fh_post_saved;
| ^~
> fs/nfsd/xdr4.h:773:28: error: 'struct svc_fh' has no
member named 'fh_pre_change'
773 | cinfo->before_change =
fhp->fh_pre_change;
| ^~
> fs/nfsd/xdr4.h:774:27: error: 'struct svc_fh' has no
member named 'fh_post_change'
774 | cinfo->after_change =
fhp->fh_post_change;
| ^~
> fs/nfsd/xdr4.h:775:31: error: 'struct svc_fh' has no
member named 'fh_pre_ctime'
775 | cinfo->before_ctime_sec =
fhp->fh_pre_ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:776:32: error: 'struct svc_fh' has no member named
'fh_pre_ctime'
776 | cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
| ^~
> fs/nfsd/xdr4.h:777:30: error: 'struct svc_fh' has no
member named 'fh_post_attr'
777 | cinfo->after_ctime_sec =
fhp->fh_post_attr.ctime.tv_sec;
| ^~
fs/nfsd/xdr4.h:778:31: error: 'struct svc_fh' has no member named
'fh_post_attr'
778 | cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
| ^~
fs/nfsd/export.c: In function 'exp_rootfh':
fs/nfsd/export.c:919:17: warning: variable 'inode' set but not used
[-Wunused-but-set-variable]
919 | struct inode *inode;
| ^~~~~
#
https://github.com/0day-ci/linux/commit/f4af9425b245977b0986e67da605a5d16...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Chuck-Lever/NFSD-operation-monitoring-tracepoints/20200917-062407
git checkout f4af9425b245977b0986e67da605a5d16665b0a9
vim +769 fs/nfsd/xdr4.h
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 765
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 766 static inline
void
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 767
set_change_info(struct nfsd4_change_info *cinfo, struct svc_fh *fhp)
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 768 {
c1ac3ffcd0bc7e9 fs/nfsd/xdr4.h Neil Brown 2010-12-02 @769
BUG_ON(!fhp->fh_pre_saved);
aaf91ec148910e0 fs/nfsd/xdr4.h Jeff Layton 2015-09-17 @770
cinfo->atomic = (u32)fhp->fh_post_saved;
2b0143b5c986be1 fs/nfsd/xdr4.h David Howells 2015-03-17 771
cinfo->change_supported = IS_I_VERSION(d_inode(fhp->fh_dentry));
c1ac3ffcd0bc7e9 fs/nfsd/xdr4.h Neil Brown 2010-12-02 772
c654b8a9cba6002 include/linux/nfsd/xdr4.h J. Bruce Fields 2009-04-16 @773
cinfo->before_change = fhp->fh_pre_change;
c654b8a9cba6002 include/linux/nfsd/xdr4.h J. Bruce Fields 2009-04-16 @774
cinfo->after_change = fhp->fh_post_change;
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 @775
cinfo->before_ctime_sec = fhp->fh_pre_ctime.tv_sec;
^1da177e4c3f415 include/linux/nfsd/xdr4.h Linus Torvalds 2005-04-16 776
cinfo->before_ctime_nsec = fhp->fh_pre_ctime.tv_nsec;
40ee5dc6af351c1 include/linux/nfsd/xdr4.h Peter Staubach 2007-08-16 @777
cinfo->after_ctime_sec = fhp->fh_post_attr.ctime.tv_sec;
40ee5dc6af351c1 include/linux/nfsd/xdr4.h Peter Staubach 2007-08-16 778
cinfo->after_ctime_nsec = fhp->fh_post_attr.ctime.tv_nsec;
c1ac3ffcd0bc7e9 fs/nfsd/xdr4.h Neil Brown 2010-12-02 779
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org