Re: linux-next: build failure after merge of the block tree

Jens Axboe
2020-02-03T04:13:04Z

On 2/2/20 5:04 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> In file included from drivers/vhost/vhost.c:13:
> include/linux/eventfd.h:43:22: error: unknown type name 'eventfd_wake_count'
> 43 | DECLARE_PER_CPU(int, eventfd_wake_count);
> | ^~~~~~~~~~~~~~~~~~
> include/linux/eventfd.h: In function 'eventfd_signal_count':
> include/linux/eventfd.h:47:9: error: implicit declaration of function 'this_cpu_read' [-Werror=implicit-function-declaration]
> 47 | return this_cpu_read(eventfd_wake_count);
> | ^~~~~~~~~~~~~
> include/linux/eventfd.h:47:23: error: 'eventfd_wake_count' undeclared (first use in this function); did you mean 'eventfd_signal_count'?
> 47 | return this_cpu_read(eventfd_wake_count);
> | ^~~~~~~~~~~~~~~~~~
> | eventfd_signal_count
> include/linux/eventfd.h:47:23: note: each undeclared identifier is reported only once for each function it appears in
>
> Caused by commit
>
> 9a9f718763cf ("eventfd: track eventfd_signal() recursion depth")
>
> I have used the block tree from next-20200131 for today.

Doh, missed include, didn't fail on x86-64. Fixed it up, should work
tomorrow.

--
Jens Axboe