linux-next: build failure after merge of the nfsd tree

From: Stephen Rothwell
Date: Thu Oct 04 2018 - 20:01:41 EST


Hi all,

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

fs/nfs/dns_resolve.c: In function 'nfs_dns_ent_put':
fs/nfs/dns_resolve.c:119:11: error: passing argument 1 of 'call_rcu_sched' from incompatible pointer type [-Werror=incompatible-pointer-types]
call_rcu(item, nfs_dns_ent_free_rcu);
^~~~
In file included from include/linux/srcu.h:33,
from include/linux/notifier.h:16,
from include/linux/memory_hotplug.h:7,
from include/linux/mmzone.h:758,
from include/linux/gfp.h:6,
from include/linux/umh.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from fs/nfs/dns_resolve.c:36:
include/linux/rcupdate.h:59:38: note: expected 'struct callback_head *' but argument is of type 'struct nfs_dns_ent *'
void call_rcu_sched(struct rcu_head *head, rcu_callback_t func);
~~~~~~~~~~~~~~~~~^~~~

Caused by commit

fd497f1e40d9 ("NFS: Lockless DNS lookups")

I have used the nfsd tree from next-20181004 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpM1h34Ifc28.pgp
Description: OpenPGP digital signature