Hi Dai, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on nfs/linux-next] [also build test WARNING on nfsd/nfsd-next v5.9-rc8 next-20201007] [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/Dai-Ngo/NFSv4-2-Fix-NFS4ERR_STALE-with-inter-server-copy/20201008-092931 base: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next config: i386-randconfig-s001-20201008 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.2-218-gc0e96d6d-dirty # https://github.com/0day-ci/linux/commit/589c5501bac22055fafe42825de27f3cc1c82626 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Dai-Ngo/NFSv4-2-Fix-NFS4ERR_STALE-with-inter-server-copy/20201008-092931 git checkout 589c5501bac22055fafe42825de27f3cc1c82626 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> echo echo "sparse warnings: (new ones prefixed by >>)" echo >> fs/nfs/super.c:89:33: sparse: sparse: symbol 'nfs_ssc_clnt_ops_tbl' was not declared. Should it be static? fs/nfs/super.c:1114:49: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct rpc_xprt *xprt1 @@ got struct rpc_xprt [noderef] __rcu *cl_xprt @@ fs/nfs/super.c:1114:49: sparse: expected struct rpc_xprt *xprt1 fs/nfs/super.c:1114:49: sparse: got struct rpc_xprt [noderef] __rcu *cl_xprt fs/nfs/super.c:1115:49: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct rpc_xprt *xprt2 @@ got struct rpc_xprt [noderef] __rcu *cl_xprt @@ fs/nfs/super.c:1115:49: sparse: expected struct rpc_xprt *xprt2 fs/nfs/super.c:1115:49: sparse: got struct rpc_xprt [noderef] __rcu *cl_xprt fs/nfs/super.c:1335:14: sparse: sparse: symbol 'nfs_idmap_cache_timeout' was not declared. Should it be static? -- >> fs/nfs/nfs4file.c:31:34: sparse: sparse: symbol 'nfs4_ssc_clnt_ops_tbl' was not declared. Should it be static? Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip