Hi Nikolay, [auto build test ERROR on next-20170217] [cannot apply to btrfs/next v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.10-rc8] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Nikolay-Borisov/More-btrfs_inode-cleanups/20170217-233314 config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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 errors (new ones prefixed by >>): fs/btrfs/inode.c: In function 'btrfs_test_destroy_inode': >> fs/btrfs/inode.c:9279:26: error: passing argument 1 of 'btrfs_drop_extent_cache' from incompatible pointer type [-Werror=incompatible-pointer-types] btrfs_drop_extent_cache(inode, 0, (u64)-1, 0); ^~~~~ In file included from fs/btrfs/inode.c:45:0: fs/btrfs/ctree.h:3222:6: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *' void btrfs_drop_extent_cache(struct btrfs_inode *inode, u64 start, u64 end, ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- fs/btrfs/tests/inode-tests.c: In function 'test_btrfs_get_extent': >> fs/btrfs/tests/inode-tests.c:296:26: error: passing argument 1 of 'btrfs_drop_extent_cache' from incompatible pointer type [-Werror=incompatible-pointer-types] btrfs_drop_extent_cache(inode, 0, (u64)-1, 0); ^~~~~ In file included from fs/btrfs/tests/inode-tests.c:21:0: fs/btrfs/tests/../ctree.h:3222:6: note: expected 'struct btrfs_inode *' but argument is of type 'struct inode *' void btrfs_drop_extent_cache(struct btrfs_inode *inode, u64 start, u64 end, ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/btrfs_drop_extent_cache +9279 fs/btrfs/inode.c 2ead6ae7 Yan, Zheng 2010-05-16 9273 return inode; 39279cc3 Chris Mason 2007-06-12 9274 } 39279cc3 Chris Mason 2007-06-12 9275 aaedb55b Josef Bacik 2013-10-11 9276 #ifdef CONFIG_BTRFS_FS_RUN_SANITY_TESTS aaedb55b Josef Bacik 2013-10-11 9277 void btrfs_test_destroy_inode(struct inode *inode) aaedb55b Josef Bacik 2013-10-11 9278 { aaedb55b Josef Bacik 2013-10-11 @9279 btrfs_drop_extent_cache(inode, 0, (u64)-1, 0); aaedb55b Josef Bacik 2013-10-11 9280 kmem_cache_free(btrfs_inode_cachep, BTRFS_I(inode)); aaedb55b Josef Bacik 2013-10-11 9281 } aaedb55b Josef Bacik 2013-10-11 9282 #endif :::::: The code at line 9279 was first introduced by commit :::::: aaedb55bc08f384b7f57dbb3222a511baed4decf Btrfs: add tests for btrfs_get_extent :::::: TO: Josef Bacik <jbacik@xxxxxxxxxxxx> :::::: CC: Chris Mason <chris.mason@xxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
