2024-04-04 22:54:36

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the nfs tree

Hi all,

After merging the nfs tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

fs/nfs/inode.c: In function 'nfs_net_init':
fs/nfs/inode.c:2434:13: error: assignment to 'int' from 'struct proc_dir_entry *' makes integer from pointer without a cast [-Werror=int-conversion]
2434 | err = rpc_proc_register(net, &nn->rpcstats);
| ^
cc1: all warnings being treated as errors

Caused by commit

f290a586e31f ("nfs: Handle error of rpc_proc_register() in nfs_net_init()")

I have used the nfs tree from next-20240404 for today.

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2024-04-04 23:08:40

by Kuniyuki Iwashima

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the nfs tree

From: Stephen Rothwell <[email protected]>
Date: Fri, 5 Apr 2024 09:53:41 +1100
> Hi all,
>
> After merging the nfs tree, today's linux-next build (x86_64 allmodconfig)
> failed like this:
>
> fs/nfs/inode.c: In function 'nfs_net_init':
> fs/nfs/inode.c:2434:13: error: assignment to 'int' from 'struct proc_dir_entry *' makes integer from pointer without a cast [-Werror=int-conversion]
> 2434 | err = rpc_proc_register(net, &nn->rpcstats);
> | ^
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> f290a586e31f ("nfs: Handle error of rpc_proc_register() in nfs_net_init().")
>
> I have used the nfs tree from next-20240404 for today.

Sorry, I posted v2 of the patch.
https://lore.kernel.org/linux-nfs/[email protected]/