* linux-next: build failure after merge of the vfs-idmapping tree
@ 2023-01-18 23:26 Stephen Rothwell
2023-01-19 8:33 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2023-01-18 23:26 UTC (permalink / raw)
To: Christian Brauner, Seth Forshee
Cc: Christian Brauner, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]
Hi all,
After merging the vfs-idmapping tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:
arch/powerpc/platforms/cell/spufs/inode.c: In function 'spufs_setattr':
arch/powerpc/platforms/cell/spufs/inode.c:103:22: error: passing argument 1 of 'setattr_copy' from incompatible pointer type [-Werror=incompatible-pointer-types]
103 | setattr_copy(&idmap, inode, attr);
| ^~~~~~
| |
| struct mnt_idmap **
In file included from arch/powerpc/platforms/cell/spufs/inode.c:12:
include/linux/fs.h:2941:19: note: expected 'struct mnt_idmap *' but argument is of type 'struct mnt_idmap **'
2941 | void setattr_copy(struct mnt_idmap *, struct inode *inode,
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Caused by commit
2e906ff8067f ("fs: port ->setattr() to pass mnt_idmap")
I have used the vfs-idmapping tree from next-20230118 for today.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: linux-next: build failure after merge of the vfs-idmapping tree
2023-01-18 23:26 linux-next: build failure after merge of the vfs-idmapping tree Stephen Rothwell
@ 2023-01-19 8:33 ` Christian Brauner
0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2023-01-19 8:33 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Christian Brauner, Seth Forshee, Linux Kernel Mailing List,
Linux Next Mailing List
On Thu, Jan 19, 2023 at 10:26:59AM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the vfs-idmapping tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> arch/powerpc/platforms/cell/spufs/inode.c: In function 'spufs_setattr':
> arch/powerpc/platforms/cell/spufs/inode.c:103:22: error: passing argument 1 of 'setattr_copy' from incompatible pointer type [-Werror=incompatible-pointer-types]
> 103 | setattr_copy(&idmap, inode, attr);
> | ^~~~~~
> | |
> | struct mnt_idmap **
> In file included from arch/powerpc/platforms/cell/spufs/inode.c:12:
> include/linux/fs.h:2941:19: note: expected 'struct mnt_idmap *' but argument is of type 'struct mnt_idmap **'
> 2941 | void setattr_copy(struct mnt_idmap *, struct inode *inode,
> | ^~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
Ah, cross-compilation...
Thanks for catching and reporting this, Steven!
Fixed now and pushed out.
Christian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-19 8:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-18 23:26 linux-next: build failure after merge of the vfs-idmapping tree Stephen Rothwell
2023-01-19 8:33 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox