Re: [PATCH v2 1/1] NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: sparc64-randconfig-s031-20201008 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # 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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sparc64 

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

All warnings (new ones prefixed by >>):

>> fs/nfs/nfs4file.c:27:21: warning: '__nfs42_ssc_open' used but never defined
      27 | static struct file *__nfs42_ssc_open(struct vfsmount *ss_mnt,
         |                     ^~~~~~~~~~~~~~~~
>> fs/nfs/nfs4file.c:29:13: warning: '__nfs42_ssc_close' used but never defined
      29 | static void __nfs42_ssc_close(struct file *filep);
         |             ^~~~~~~~~~~~~~~~~

vim +/__nfs42_ssc_open +27 fs/nfs/nfs4file.c

    26	
  > 27	static struct file *__nfs42_ssc_open(struct vfsmount *ss_mnt,
    28			struct nfs_fh *src_fh, nfs4_stateid *stateid);
  > 29	static void __nfs42_ssc_close(struct file *filep);
    30	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux