Hi Anand, [auto build test ERROR on btrfs/next] [also build test ERROR on v4.6-rc1 next-20160329] [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/Anand-Jain/btrfs-Introduce-a-new-function-to-check-if-all-chunks-a-OK-for-degraded-mount/20160329-222724 base: https://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git next 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 >>): fs/btrfs/dev-replace.c: In function 'btrfs_auto_replace_start': >> fs/btrfs/dev-replace.c:962:8: warning: passing argument 2 of >> 'btrfs_dev_replace_start' from incompatible pointer type ret = btrfs_dev_replace_start(root, tgt_path, ^ fs/btrfs/dev-replace.c:308:5: note: expected 'struct btrfs_ioctl_dev_replace_args *' but argument is of type 'char *' int btrfs_dev_replace_start(struct btrfs_root *root, ^ >> fs/btrfs/dev-replace.c:962:8: error: too many arguments to function >> 'btrfs_dev_replace_start' ret = btrfs_dev_replace_start(root, tgt_path, ^ fs/btrfs/dev-replace.c:308:5: note: declared here int btrfs_dev_replace_start(struct btrfs_root *root, ^ vim +/btrfs_dev_replace_start +962 fs/btrfs/dev-replace.c 956 if (btrfs_get_spare_device(&tgt_path)) { 957 btrfs_err(root->fs_info, 958 "No spare device found/configured in the kernel"); 959 return -EINVAL; 960 } 961 > 962 ret = btrfs_dev_replace_start(root, tgt_path, 963 src_device->devid, 964 rcu_str_deref(src_device->name), 965 BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOID); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data