[josef-btrfs:kill-btree-inode 30/32] fs/btrfs/disk-io.c:1059:13: sparse: incorrect type in assignment (different base types)

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git kill-btree-inode
head:   225f09a5848138ede157eff4aa27bfa70d354fcb
commit: fb6cad3454e3172599129cff50d5234a7abc551c [30/32] Btrfs: kill the btree_inode
reproduce:
        # apt-get install sparse
        git checkout fb6cad3454e3172599129cff50d5234a7abc551c
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)


vim +1059 fs/btrfs/disk-io.c

  1047	
  1048	static blk_status_t __btree_submit_bio_done(void *private_data, struct bio *bio,
  1049						    int mirror_num, unsigned long bio_flags,
  1050						    u64 bio_offset)
  1051	{
  1052		struct btrfs_eb_info *eb_info = private_data;
  1053		int ret;
  1054	
  1055		/*
  1056		 * when we're called for a write, we're already in the async
  1057		 * submission context.  Just jump into btrfs_map_bio
  1058		 */
> 1059		ret = btrfs_map_bio(eb_info->fs_info, bio, mirror_num, 1);
  1060		if (ret) {
> 1061			bio->bi_status = ret;
  1062			bio_endio(bio);
  1063		}
> 1064		return ret;
  1065	}
  1066	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux