linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nfs:testing 4/7] fs/nfs/pnfs.h:714:2: error: 'returrn' undeclared; did you mean 'irqreturn'?
@ 2019-09-02 16:51 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-09-02 16:51 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: kbuild-all, linux-nfs

[-- Attachment #1: Type: text/plain, Size: 1789 bytes --]

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@intel.com>

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 7870 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-02 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-02 16:51 [nfs:testing 4/7] fs/nfs/pnfs.h:714:2: error: 'returrn' undeclared; did you mean 'irqreturn'? kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).