[ceph:wip-file-layout2 5/5] fs/ceph/inode.c:959:25: sparse: incompatible types in comparison expression (different address spaces)

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

 



tree:   https://github.com/ceph/ceph-client.git wip-file-layout2
head:   0fb410133c4abf54314ef21893fe9a60a59faf35
commit: 0fb410133c4abf54314ef21893fe9a60a59faf35 [5/5] ceph: rados namespace support
reproduce:
        # apt-get install sparse
        git checkout 0fb410133c4abf54314ef21893fe9a60a59faf35
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:232:8: sparse: attribute 'no_sanitize_address': unknown attribute
>> fs/ceph/inode.c:959:25: sparse: incompatible types in comparison expression (different address spaces)

vim +959 fs/ceph/inode.c

   943			ceph_queue_vmtruncate(inode);
   944	
   945		/* populate frag tree */
   946		if (S_ISDIR(inode->i_mode))
   947			ceph_fill_fragtree(inode, &info->fragtree, dirinfo);
   948	
   949		/* update delegation info? */
   950		if (dirinfo)
   951			ceph_fill_dirfrag(inode, dirinfo);
   952	
   953		err = 0;
   954	out:
   955		if (new_cap)
   956			ceph_put_cap(mdsc, new_cap);
   957		if (xattr_blob)
   958			ceph_buffer_put(xattr_blob);
 > 959		ceph_put_layout(rcu_dereference_raw(layout));
   960		return err;
   961	}
   962	
   963	/*
   964	 * caller should hold session s_mutex.
   965	 */
   966	static void update_dentry_lease(struct dentry *dentry,
   967					struct ceph_mds_reply_lease *lease,

---
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 ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux