Re: [PATCH 2/3] NFS: add OFD lock owners to nfs_lock_context

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

 



Hi Benjamin,

[auto build test ERROR on v4.6-rc1]
[also build test ERROR on next-20160401]
[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/Benjamin-Coddington/Include-OFD-lock-owners-when-looking-up-state/20160401-233801
config: sparc64-allmodconfig (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=sparc64 

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

   In file included from fs/nfs/nfs4file.c:14:0:
   fs/nfs/fscache.h: In function 'nfs_readpage_from_fscache':
>> fs/nfs/fscache.h:122:10: warning: passing argument 1 of '__nfs_readpage_from_fscache' from incompatible pointer type
      return __nfs_readpage_from_fscache(l_ctx, inode, page);
             ^
   fs/nfs/fscache.h:86:12: note: expected 'struct nfs_open_context *' but argument is of type 'struct nfs_lock_context *'
    extern int __nfs_readpage_from_fscache(struct nfs_open_context *,
               ^
   fs/nfs/fscache.h: In function 'nfs_readpages_from_fscache':
>> fs/nfs/fscache.h:136:10: warning: passing argument 1 of '__nfs_readpages_from_fscache' from incompatible pointer type
      return __nfs_readpages_from_fscache(l_ctx, inode, mapping, pages,
             ^
   fs/nfs/fscache.h:88:12: note: expected 'struct nfs_open_context *' but argument is of type 'struct nfs_lock_context *'
    extern int __nfs_readpages_from_fscache(struct nfs_open_context *,
               ^
--
   In file included from fs/nfs/fscache-index.c:21:0:
   fs/nfs/fscache.h: In function 'nfs_readpage_from_fscache':
>> fs/nfs/fscache.h:122:10: warning: passing argument 1 of '__nfs_readpage_from_fscache' from incompatible pointer type
      return __nfs_readpage_from_fscache(l_ctx, inode, page);
             ^
   fs/nfs/fscache.h:86:12: note: expected 'struct nfs_open_context *' but argument is of type 'struct nfs_lock_context *'
    extern int __nfs_readpage_from_fscache(struct nfs_open_context *,
               ^
   fs/nfs/fscache.h: In function 'nfs_readpages_from_fscache':
>> fs/nfs/fscache.h:136:10: warning: passing argument 1 of '__nfs_readpages_from_fscache' from incompatible pointer type
      return __nfs_readpages_from_fscache(l_ctx, inode, mapping, pages,
             ^
   fs/nfs/fscache.h:88:12: note: expected 'struct nfs_open_context *' but argument is of type 'struct nfs_lock_context *'
    extern int __nfs_readpages_from_fscache(struct nfs_open_context *,
               ^
   fs/nfs/fscache-index.c: In function 'nfs_fh_put_context':
>> fs/nfs/fscache-index.c:314:3: error: implicit declaration of function 'put_nfs_lock_context' [-Werror=implicit-function-declaration]
      put_nfs_lock_context(context);
      ^
   cc1: some warnings being treated as errors

vim +/put_nfs_lock_context +314 fs/nfs/fscache-index.c

   308	 * - This function can be absent if the completion function doesn't require a
   309	 *   context.
   310	 */
   311	static void nfs_fh_put_context(void *cookie_netfs_data, void *context)
   312	{
   313		if (context)
 > 314			put_nfs_lock_context(context);
   315	}
   316	
   317	/*

---
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