All of lore.kernel.org
 help / color / mirror / Atom feed
* [ablock84-btrfs:btrfs-far 20/20] fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types)
@ 2012-11-06 20:51 kbuild test robot
  2012-11-06 20:57 ` Alexander Block
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2012-11-06 20:51 UTC (permalink / raw)
  To: Alexander Block; +Cc: linux-btrfs

tree:   git://github.com/ablock84/linux-btrfs.git btrfs-far
head:   f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d
commit: f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d [20/20] Btrfs: use libfarstream for btrfs send


sparse warnings:

+ fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types)
fs/btrfs/send.c:1683:51:    expected unsigned long long [unsigned] [usertype] vol_gen
fs/btrfs/send.c:1683:51:    got restricted __le64 [usertype] ctransid
fs/btrfs/send.c:1693:61: sparse: incorrect type in argument 5 (different base types)
fs/btrfs/send.c:1693:61:    expected unsigned long long [unsigned] [usertype] vol_gen
fs/btrfs/send.c:1693:61:    got restricted __le64 [usertype] ctransid
+ fs/btrfs/send.c:3102:50: sparse: incorrect type in argument 2 (different address spaces)
fs/btrfs/send.c:3102:50:    expected char [noderef] <asn:1>*<noident>
fs/btrfs/send.c:3102:50:    got char *read_buf
fs/btrfs/send.c:4101:62: sparse: incorrect type in argument 5 (different base types)
fs/btrfs/send.c:4101:62:    expected unsigned long long [unsigned] [usertype] vol_gen
fs/btrfs/send.c:4101:62:    got restricted __le64 [usertype] ctransid
fs/btrfs/send.c:4132:51: sparse: incorrect type in argument 5 (different base types)
fs/btrfs/send.c:4132:51:    expected unsigned long long [unsigned] [usertype] vol_gen
fs/btrfs/send.c:4132:51:    got restricted __le64 [usertype] ctransid

vim +1683 fs/btrfs/send.c

31db9f7c Alexander Block 2012-07-25  1677  	read_extent_buffer(leaf, name, (unsigned long)(ref + 1), namelen);
31db9f7c Alexander Block 2012-07-25  1678  	btrfs_release_path(path);
31db9f7c Alexander Block 2012-07-25  1679  
f9a5bb45 Alexander Block 2012-11-06  1680  	vid = far_volume_identifier_create("btrfs", -1,
f9a5bb45 Alexander Block 2012-11-06  1681  			sctx->send_root->root_item.uuid,
f9a5bb45 Alexander Block 2012-11-06  1682  			BTRFS_UUID_SIZE,
f9a5bb45 Alexander Block 2012-11-06 @1683  			sctx->send_root->root_item.ctransid,
f9a5bb45 Alexander Block 2012-11-06  1684  			name, namelen);
f9a5bb45 Alexander Block 2012-11-06  1685  	if (!vid) {
f9a5bb45 Alexander Block 2012-11-06  1686  		ret = -ENOMEM;
f9a5bb45 Alexander Block 2012-11-06  1687  		goto out;
31db9f7c Alexander Block 2012-07-25  1688  	}
31db9f7c Alexander Block 2012-07-25  1689  	if (parent_root) {
f9a5bb45 Alexander Block 2012-11-06  1690  		parent_vid = far_volume_identifier_create("btrfs", -1,
f9a5bb45 Alexander Block 2012-11-06  1691  				sctx->parent_root->root_item.uuid,
f9a5bb45 Alexander Block 2012-11-06  1692  				BTRFS_UUID_SIZE,
f9a5bb45 Alexander Block 2012-11-06 @1693  				sctx->parent_root->root_item.ctransid,
f9a5bb45 Alexander Block 2012-11-06  1694  				"", -1);
f9a5bb45 Alexander Block 2012-11-06  1695  		if (!parent_vid) {
f9a5bb45 Alexander Block 2012-11-06  1696  			ret = -ENOMEM;

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ablock84-btrfs:btrfs-far 20/20] fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types)
  2012-11-06 20:51 [ablock84-btrfs:btrfs-far 20/20] fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types) kbuild test robot
@ 2012-11-06 20:57 ` Alexander Block
  2012-11-07  0:22   ` Fengguang Wu
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Block @ 2012-11-06 20:57 UTC (permalink / raw)
  To: kbuild test robot; +Cc: linux-btrfs

On Tue, Nov 6, 2012 at 9:51 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> tree:   git://github.com/ablock84/linux-btrfs.git btrfs-far
> head:   f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d
> commit: f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d [20/20] Btrfs: use libfarstream for btrfs send
>
>
> sparse warnings:
>
> + fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types)
> fs/btrfs/send.c:1683:51:    expected unsigned long long [unsigned] [usertype] vol_gen
> fs/btrfs/send.c:1683:51:    got restricted __le64 [usertype] ctransid
> fs/btrfs/send.c:1693:61: sparse: incorrect type in argument 5 (different base types)
> fs/btrfs/send.c:1693:61:    expected unsigned long long [unsigned] [usertype] vol_gen
> fs/btrfs/send.c:1693:61:    got restricted __le64 [usertype] ctransid
> + fs/btrfs/send.c:3102:50: sparse: incorrect type in argument 2 (different address spaces)
> fs/btrfs/send.c:3102:50:    expected char [noderef] <asn:1>*<noident>
> fs/btrfs/send.c:3102:50:    got char *read_buf
> fs/btrfs/send.c:4101:62: sparse: incorrect type in argument 5 (different base types)
> fs/btrfs/send.c:4101:62:    expected unsigned long long [unsigned] [usertype] vol_gen
> fs/btrfs/send.c:4101:62:    got restricted __le64 [usertype] ctransid
> fs/btrfs/send.c:4132:51: sparse: incorrect type in argument 5 (different base types)
> fs/btrfs/send.c:4132:51:    expected unsigned long long [unsigned] [usertype] vol_gen
> fs/btrfs/send.c:4132:51:    got restricted __le64 [usertype] ctransid
>
> vim +1683 fs/btrfs/send.c
>
> 31db9f7c Alexander Block 2012-07-25  1677       read_extent_buffer(leaf, name, (unsigned long)(ref + 1), namelen);
> 31db9f7c Alexander Block 2012-07-25  1678       btrfs_release_path(path);
> 31db9f7c Alexander Block 2012-07-25  1679
> f9a5bb45 Alexander Block 2012-11-06  1680       vid = far_volume_identifier_create("btrfs", -1,
> f9a5bb45 Alexander Block 2012-11-06  1681                       sctx->send_root->root_item.uuid,
> f9a5bb45 Alexander Block 2012-11-06  1682                       BTRFS_UUID_SIZE,
> f9a5bb45 Alexander Block 2012-11-06 @1683                       sctx->send_root->root_item.ctransid,
> f9a5bb45 Alexander Block 2012-11-06  1684                       name, namelen);
> f9a5bb45 Alexander Block 2012-11-06  1685       if (!vid) {
> f9a5bb45 Alexander Block 2012-11-06  1686               ret = -ENOMEM;
> f9a5bb45 Alexander Block 2012-11-06  1687               goto out;
> 31db9f7c Alexander Block 2012-07-25  1688       }
> 31db9f7c Alexander Block 2012-07-25  1689       if (parent_root) {
> f9a5bb45 Alexander Block 2012-11-06  1690               parent_vid = far_volume_identifier_create("btrfs", -1,
> f9a5bb45 Alexander Block 2012-11-06  1691                               sctx->parent_root->root_item.uuid,
> f9a5bb45 Alexander Block 2012-11-06  1692                               BTRFS_UUID_SIZE,
> f9a5bb45 Alexander Block 2012-11-06 @1693                               sctx->parent_root->root_item.ctransid,
> f9a5bb45 Alexander Block 2012-11-06  1694                               "", -1);
> f9a5bb45 Alexander Block 2012-11-06  1695               if (!parent_vid) {
> f9a5bb45 Alexander Block 2012-11-06  1696                       ret = -ENOMEM;
>
> ---
> 0-DAY kernel build testing backend         Open Source Technology Center
> Fengguang Wu, Yuanhan Liu                              Intel Corporation

Sorry for the noise. For some reason that I currently don't understand
there is a build robot subscribed to my github account which thinks
that posting to the mailing list is a good idea...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ablock84-btrfs:btrfs-far 20/20] fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types)
  2012-11-06 20:57 ` Alexander Block
@ 2012-11-07  0:22   ` Fengguang Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2012-11-07  0:22 UTC (permalink / raw)
  To: Alexander Block; +Cc: linux-btrfs

On Tue, Nov 06, 2012 at 09:57:47PM +0100, Alexander Block wrote:
> On Tue, Nov 6, 2012 at 9:51 PM, kbuild test robot
> <fengguang.wu@intel.com> wrote:
> > tree:   git://github.com/ablock84/linux-btrfs.git btrfs-far
> > head:   f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d
> > commit: f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d [20/20] Btrfs: use libfarstream for btrfs send

> Sorry for the noise. For some reason that I currently don't understand
> there is a build robot subscribed to my github account which thinks
> that posting to the mailing list is a good idea...

Sorry about that. I've removed the CC list for your tree.

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-07  0:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-06 20:51 [ablock84-btrfs:btrfs-far 20/20] fs/btrfs/send.c:1683:51: sparse: incorrect type in argument 5 (different base types) kbuild test robot
2012-11-06 20:57 ` Alexander Block
2012-11-07  0:22   ` Fengguang Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.