Re: linux-next: build failure after merge of the vfs tree

From: Stephen Rothwell
Date: Mon Oct 29 2018 - 05:07:13 EST


Hi David,

On Mon, 29 Oct 2018 15:33:34 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi Al, David,
>
> These have returned, so I have disabled CONFIG_SAMPLE_VFS again.

Here is the current set of errors I git today (this is from a PowerPC
allyesconfig build native compiler on a PowerPC64 LE machine):

samples/vfs/test-fsinfo.c: In function 'fsinfo':
samples/vfs/test-fsinfo.c:37:17: error: '__NR_fsinfo' undeclared (first use in this function); did you mean 'fsinfo'?
return syscall(__NR_fsinfo, dfd, filename, params, buffer, buf_size);
^~~~~~~~~~~
fsinfo
samples/vfs/test-fsinfo.c:37:17: note: each undeclared identifier is reported only once for each function it appears in
samples/vfs/test-fsinfo.c:38:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
samples/vfs/test-fs-query.c: In function 'fsopen':
samples/vfs/test-fs-query.c:32:17: error: '__NR_fsopen' undeclared (first use in this function); did you mean 'fsopen'?
return syscall(__NR_fsopen, fs_name, flags);
^~~~~~~~~~~
fsopen
samples/vfs/test-fs-query.c:32:17: note: each undeclared identifier is reported only once for each function it appears in
samples/vfs/test-fs-query.c: In function 'fsinfo':
samples/vfs/test-fs-query.c:38:17: error: '__NR_fsinfo' undeclared (first use in this function); did you mean 'fsinfo'?
return syscall(__NR_fsinfo, dfd, filename, params, buffer, buf_size);
^~~~~~~~~~~
fsinfo
samples/vfs/test-fs-query.c: In function 'fsopen':
samples/vfs/test-fs-query.c:33:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
samples/vfs/test-fs-query.c: In function 'fsinfo':
samples/vfs/test-fs-query.c:39:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
samples/vfs/test-statx.c: In function 'dump_statx':
samples/vfs/test-statx.c:164:29: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
printf("Attributes: %016llx (", stx->stx_attributes);
~~~~~~^ ~~~~~~~~~~~~~~~~~~~
%016lx

--
Cheers,
Stephen Rothwell

Attachment: pgpyJA4YWG7MM.pgp
Description: OpenPGP digital signature