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
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]/