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

From: Jens Axboe
Date: Thu May 07 2020 - 11:07:31 EST


On 5/6/20 8:35 PM, Al Viro wrote:
> On Thu, May 07, 2020 at 10:39:21AM +1000, Stephen Rothwell wrote:
>> Hi all,
>>
>> After merging the vfs tree, today's linux-next build (arm
>> multi_v7_defconfig) failed like this:
>>
>> fs/eventfd.c: In function 'eventfd_read':
>> fs/eventfd.c:226:6: error: implicit declaration of function 'iov_iter_count' [-Werror=implicit-function-declaration]
>> 226 | if (iov_iter_count(to) < sizeof(ucnt))
>> | ^~~~~~~~~~~~~~
>> In file included from include/linux/file.h:9,
>> from fs/eventfd.c:9:
>> fs/eventfd.c:257:15: error: implicit declaration of function 'copy_to_iter'; did you mean 'copy_to_user'? [-Werror=implicit-function-declaration]
>> 257 | if (unlikely(copy_to_iter(&ucnt, sizeof(ucnt), to) != sizeof(ucnt)))
>> | ^~~~~~~~~~~~
>>
>> Caused by commit
>>
>> a6515b3a7410 ("eventfd: convert to f_op->read_iter()")
>>
>> I have applied the following patch for today:
>
> [snip]
>
> folded and pushed out

Thanks Al.

--
Jens Axboe