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

From: Stephen Rothwell
Date: Thu May 07 2020 - 20:47:31 EST


Hi all,

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

kernel/trace/trace_hwlat.c:329:12: error: conflicting types for 'kthread_fn'
329 | static int kthread_fn(void *data)
| ^~~~~~~~~~
In file included from kernel/trace/trace_hwlat.c:40:
include/linux/kthread.h:60:7: note: previous declaration of 'kthread_fn' was here
60 | void *kthread_fn(struct task_struct *k);
| ^~~~~~~~~~

Caused by commit

7df082e85764 ("kthread: save thread function")

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

--
Cheers,
Stephen Rothwell

Attachment: pgpYklVJgrBUT.pgp
Description: OpenPGP digital signature