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
@ 2019-09-02 16:14 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-09-02 16:14 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: kbuild-all, linux-nfs

[-- Attachment #1: Type: text/plain, Size: 1591 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: i386-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
        git checkout 58aac7f4f4a1410f776014ec1ed00d92264536df
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All error/warnings (new ones prefixed by >>):

   In file included from fs/nfs/nfs4trace.c:10:0:
   fs/nfs/pnfs.h: In function 'pnfs_roc_done':
>> fs/nfs/pnfs.h:714:2: error: 'returrn' undeclared (first use in this function)
     returrn 0;
     ^~~~~~~
   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 +/returrn +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: 28046 bytes --]

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

only message in thread, other threads:[~2019-09-02 16:14 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:14 [nfs:testing 4/7] fs/nfs/pnfs.h:714:2: error: 'returrn' undeclared 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).