| To: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 51/58] xfs: add clone file and clone range ioctls |
| From: | kbuild test robot <lkp@xxxxxxxxx> |
| Date: | Wed, 7 Oct 2015 13:13:13 +0800 |
| Cc: | kbuild-all@xxxxxx, david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20151007050044.30457.38096.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | Mutt/1.5.23 (2014-03-12) |
Hi Darrick,
[auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please
ignore]
config: i386-randconfig-i0-201540 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
fs/xfs/xfs_ioctl.c: In function 'xfs_file_ioctl':
>> fs/xfs/xfs_ioctl.c:1962:51: warning: large integer implicitly truncated to
>> unsigned type [-Woverflow]
error = xfs_ioctl_reflink(src.file, 0, filp, 0, ~0ULL);
^
vim +1962 fs/xfs/xfs_ioctl.c
1946 error = xfs_fs_eofblocks_from_user(&eofb, &keofb);
1947 if (error)
1948 return error;
1949
1950 return xfs_icache_free_eofblocks(mp, &keofb);
1951 }
1952
1953 case XFS_IOC_CLONE: {
1954 struct fd src;
1955
1956 src = fdget(p);
1957 if (!src.file)
1958 return -EBADF;
1959
1960 trace_xfs_ioctl_clone(file_inode(src.file),
file_inode(filp));
1961
> 1962 error = xfs_ioctl_reflink(src.file, 0, filp, 0, ~0ULL);
1963 fdput(src);
1964 if (error > 0)
1965 error = 0;
1966
1967 return error;
1968 }
1969
1970 case XFS_IOC_CLONE_RANGE: {
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
|
| Previous by Date: | [PATCH 09/12] reflink: test error conditions due to bad inputs, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 10/12] xfs: test xfs-specific reflink pieces, Darrick J. Wong |
| Previous by Thread: | [PATCH 51/58] xfs: add clone file and clone range ioctls, Darrick J. Wong |
| Next by Thread: | Re: [PATCH 51/58] xfs: add clone file and clone range ioctls, kbuild test robot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |