[nfs:testing 4/5] fs/nfs/pnfs.h:713:1: error: expected identifier or '(' before '{' token

[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:   10b6ae16e6edded2bd4b6e8d536cd6732c6a7bed
commit: 81814b7d62ec4f7a5b84e3fb22ee730ba3cced24 [4/5] NFSv4: Clean up pNFS return-on-close error handling
config: x86_64-randconfig-s1-201935 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
        git checkout 81814b7d62ec4f7a5b84e3fb22ee730ba3cced24
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

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

   In file included from fs/nfs/write.c:37:0:
>> fs/nfs/pnfs.h:713:1: error: expected identifier or '(' before '{' token
    {
    ^
   fs/nfs/pnfs.h:709:1: warning: 'pnfs_roc_done' declared 'static' but never defined [-Wunused-function]
    pnfs_roc_done(struct rpc_task *task, struct inode *inode,
    ^~~~~~~~~~~~~
--
   In file included from fs/nfs/nfs4proc.c:64:0:
>> fs/nfs/pnfs.h:713:1: error: expected identifier or '(' before '{' token
    {
    ^
>> fs/nfs/pnfs.h:709:1: warning: 'pnfs_roc_done' used but never defined
    pnfs_roc_done(struct rpc_task *task, struct inode *inode,
    ^~~~~~~~~~~~~

vim +713 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