* [xfs-linux:xfs-4.11-merge 38/39] fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given
@ 2017-02-18 2:47 kbuild test robot
2017-02-18 4:50 ` Darrick J. Wong
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-02-18 2:47 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: kbuild-all, linux-xfs, Darrick J. Wong
[-- Attachment #1: Type: text/plain, Size: 1674 bytes --]
tree: https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git xfs-4.11-merge
head: c7016e9a73f1f8a8a21a8fdfc84f556fb8f14583
commit: ec48023e05afbd7e04269306b814bcaf86e1e047 [38/39] xfs: simplify xfs_rtallocate_extent
config: i386-randconfig-x006-201707 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout ec48023e05afbd7e04269306b814bcaf86e1e047
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
fs/xfs/xfs_bmap_util.c: In function 'xfs_bmap_rtalloc':
>> fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given
&ralen, ap->wasdel, prod, &rtb);
^
>> fs/xfs/xfs_bmap_util.c:160:10: error: 'xfs_rtallocate_extent' undeclared (first use in this function)
error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length,
^~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_bmap_util.c:160:10: note: each undeclared identifier is reported only once for each function it appears in
vim +/xfs_rtallocate_extent +161 fs/xfs/xfs_bmap_util.c
154 /*
155 * Realtime allocation, done through xfs_rtallocate_extent.
156 */
157 do_div(ap->blkno, mp->m_sb.sb_rextsize);
158 rtb = ap->blkno;
159 ap->length = ralen;
> 160 error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length,
> 161 &ralen, ap->wasdel, prod, &rtb);
162 if (error)
163 return error;
164
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28544 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [xfs-linux:xfs-4.11-merge 38/39] fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given
2017-02-18 2:47 [xfs-linux:xfs-4.11-merge 38/39] fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given kbuild test robot
@ 2017-02-18 4:50 ` Darrick J. Wong
0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2017-02-18 4:50 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: kbuild test robot, kbuild-all, linux-xfs
On Sat, Feb 18, 2017 at 10:47:19AM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git xfs-4.11-merge
> head: c7016e9a73f1f8a8a21a8fdfc84f556fb8f14583
> commit: ec48023e05afbd7e04269306b814bcaf86e1e047 [38/39] xfs: simplify xfs_rtallocate_extent
> config: i386-randconfig-x006-201707 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
> git checkout ec48023e05afbd7e04269306b814bcaf86e1e047
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> fs/xfs/xfs_bmap_util.c: In function 'xfs_bmap_rtalloc':
> >> fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given
> &ralen, ap->wasdel, prod, &rtb);
Bleh, I fixed the patch and pushed out a new branch.
--D
> ^
> >> fs/xfs/xfs_bmap_util.c:160:10: error: 'xfs_rtallocate_extent' undeclared (first use in this function)
> error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length,
> ^~~~~~~~~~~~~~~~~~~~~
> fs/xfs/xfs_bmap_util.c:160:10: note: each undeclared identifier is reported only once for each function it appears in
>
> vim +/xfs_rtallocate_extent +161 fs/xfs/xfs_bmap_util.c
>
> 154 /*
> 155 * Realtime allocation, done through xfs_rtallocate_extent.
> 156 */
> 157 do_div(ap->blkno, mp->m_sb.sb_rextsize);
> 158 rtb = ap->blkno;
> 159 ap->length = ralen;
> > 160 error = xfs_rtallocate_extent(ap->tp, ap->blkno, 1, ap->length,
> > 161 &ralen, ap->wasdel, prod, &rtb);
> 162 if (error)
> 163 return error;
> 164
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-18 4:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-18 2:47 [xfs-linux:xfs-4.11-merge 38/39] fs/xfs/xfs_bmap_util.c:161:35: error: macro "xfs_rtallocate_extent" requires 9 arguments, but only 8 given kbuild test robot
2017-02-18 4:50 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).