[nfs:testing 4/7] fs/nfs/pnfs.h:714:2: error: 'returrn' undeclared; did you mean 'irqreturn'?

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

 



tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head:   6d534b64a1fd426e1a7bef2c7393c6bc22da2b34
commit: 58aac7f4f4a1410f776014ec1ed00d92264536df [4/7] NFSv4: Clean up pNFS return-on-close error handling
config: openrisc-or1ksim_defconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 7.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 58aac7f4f4a1410f776014ec1ed00d92264536df
        # save the attached .config to linux build tree
        GCC_VERSION=7.3.0 make.cross ARCH=openrisc 

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

All errors (new ones prefixed by >>):

   In file included from fs/nfs/client.c:49:0:
   fs/nfs/pnfs.h: In function 'pnfs_roc_done':
>> fs/nfs/pnfs.h:714:2: error: 'returrn' undeclared (first use in this function); did you mean 'irqreturn'?
     returrn 0;
     ^~~~~~~
     irqreturn
   fs/nfs/pnfs.h:714:2: note: each undeclared identifier is reported only once for each function it appears in
   fs/nfs/pnfs.h:714:10: error: expected ';' before numeric constant
     returrn 0;
             ^
   fs/nfs/pnfs.h:715:1: warning: no return statement in function returning non-void [-Wreturn-type]
    }
    ^

vim +714 fs/nfs/pnfs.h

   707	
   708	static inline int
   709	pnfs_roc_done(struct rpc_task *task, struct inode *inode,
   710			struct nfs4_layoutreturn_args **argpp,
   711			struct nfs4_layoutreturn_res **respp,
   712			int *ret)
   713	{
 > 714		returrn 0;
   715	}
   716	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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