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: i386-randconfig-s0-201613 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from fs/nfs/inode.c:49:0: fs/nfs/fscache.h: In function 'nfs_readpage_from_fscache': >> fs/nfs/fscache.h:122:38: error: passing argument 1 of '__nfs_readpage_from_fscache' from incompatible pointer type [-Werror=incompatible-pointer-types] 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:39: error: passing argument 1 of '__nfs_readpages_from_fscache' from incompatible pointer type [-Werror=incompatible-pointer-types] 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 *, ^ cc1: some warnings being treated as errors -- 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:38: error: passing argument 1 of '__nfs_readpage_from_fscache' from incompatible pointer type [-Werror=incompatible-pointer-types] 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:39: error: passing argument 1 of '__nfs_readpages_from_fscache' from incompatible pointer type [-Werror=incompatible-pointer-types] 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 +/__nfs_readpage_from_fscache +122 fs/nfs/fscache.h 116 */ 117 static inline int nfs_readpage_from_fscache(struct nfs_lock_context *l_ctx, 118 struct inode *inode, 119 struct page *page) 120 { 121 if (NFS_I(inode)->fscache) > 122 return __nfs_readpage_from_fscache(l_ctx, inode, page); 123 return -ENOBUFS; 124 } 125 126 /* 127 * Retrieve a set of pages from an inode data storage object. 128 */ 129 static inline int nfs_readpages_from_fscache(struct nfs_lock_context *l_ctx, 130 struct inode *inode, 131 struct address_space *mapping, 132 struct list_head *pages, 133 unsigned *nr_pages) 134 { 135 if (NFS_I(inode)->fscache) > 136 return __nfs_readpages_from_fscache(l_ctx, inode, mapping, pages, 137 nr_pages); 138 return -ENOBUFS; 139 } --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data