Re: [PATCH] pnfs support servers with multiple layout types

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

 



Hi Tigran,

[auto build test WARNING on v4.5-rc6]
[also build test WARNING on next-20160302]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Tigran-Mkrtchyan/pnfs-support-servers-with-multiple-layout-types/20160302-201105
config: m68k-sun3_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

   fs/nfs/nfs4proc.c: In function 'nfs4_proc_fsinfo':
>> fs/nfs/nfs4proc.c:4232:3: warning: passing argument 3 of 'set_pnfs_layoutdriver' makes integer from pointer without a cast
      set_pnfs_layoutdriver(server, fhandle, fsinfo->layouttype);
      ^
   In file included from fs/nfs/nfs4proc.c:64:0:
   fs/nfs/pnfs.h:657:20: note: expected 'u32' but argument is of type '__u32 *'
    static inline void set_pnfs_layoutdriver(struct nfs_server *s,
                       ^

vim +/set_pnfs_layoutdriver +4232 fs/nfs/nfs4proc.c

83ca7f5a Chuck Lever     2013-03-16  4216  			break;
83ca7f5a Chuck Lever     2013-03-16  4217  		}
83ca7f5a Chuck Lever     2013-03-16  4218  		err = nfs4_handle_exception(server, err, &exception);
^1da177e Linus Torvalds  2005-04-16  4219  	} while (exception.retry);
^1da177e Linus Torvalds  2005-04-16  4220  	return err;
^1da177e Linus Torvalds  2005-04-16  4221  }
^1da177e Linus Torvalds  2005-04-16  4222  
^1da177e Linus Torvalds  2005-04-16  4223  static int nfs4_proc_fsinfo(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs_fsinfo *fsinfo)
^1da177e Linus Torvalds  2005-04-16  4224  {
e38eb650 Bryan Schumaker 2012-06-20  4225  	int error;
e38eb650 Bryan Schumaker 2012-06-20  4226  
0e574af1 Trond Myklebust 2005-10-27  4227  	nfs_fattr_init(fsinfo->fattr);
e38eb650 Bryan Schumaker 2012-06-20  4228  	error = nfs4_do_fsinfo(server, fhandle, fsinfo);
dc182549 Peng Tao        2012-08-24  4229  	if (error == 0) {
dc182549 Peng Tao        2012-08-24  4230  		/* block layout checks this! */
dc182549 Peng Tao        2012-08-24  4231  		server->pnfs_blksize = fsinfo->blksize;
e38eb650 Bryan Schumaker 2012-06-20 @4232  		set_pnfs_layoutdriver(server, fhandle, fsinfo->layouttype);
dc182549 Peng Tao        2012-08-24  4233  	}
e38eb650 Bryan Schumaker 2012-06-20  4234  
e38eb650 Bryan Schumaker 2012-06-20  4235  	return error;
^1da177e Linus Torvalds  2005-04-16  4236  }
^1da177e Linus Torvalds  2005-04-16  4237  
^1da177e Linus Torvalds  2005-04-16  4238  static int _nfs4_proc_pathconf(struct nfs_server *server, struct nfs_fh *fhandle,
^1da177e Linus Torvalds  2005-04-16  4239  		struct nfs_pathconf *pathconf)
^1da177e Linus Torvalds  2005-04-16  4240  {

:::::: The code at line 4232 was first introduced by commit
:::::: e38eb6506ff426a2bb93433fecfcc863a95fcd03 NFS: set_pnfs_layoutdriver() from nfs4_proc_fsinfo()

:::::: TO: Bryan Schumaker <bjschuma@xxxxxxxxxx>
:::::: CC: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[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