Subject: Re: randconfig build error with next-20150318, in drivers/vfio/virqfd.c

From: Alex Williamson <[email-masked]>
Date: Wed, 18 Mar 2015 22:49:34 -0600

On Wed, 2015-03-18 at 15:57 -0700, Jim Davis wrote:
> Building with the attached random configuration file,
> 
> drivers/vfio/virqfd.c: In function 'vfio_virqfd_enable':
> drivers/vfio/virqfd.c:132:2: error: implicit declaration of function
> 'eventfd_ctx_fileget' [-Werror=implicit-function-declaration]
>   ctx = eventfd_ctx_fileget(irqfd.file);
>   ^
> drivers/vfio/virqfd.c:132:6: warning: assignment makes pointer from integer
> without a cast
>   ctx = eventfd_ctx_fileget(irqfd.file);
>       ^
>   CC      drivers/tty/serial/serial_core.o
> cc1: some warnings being treated as errors
> scripts/Makefile.build:258: recipe for target 'drivers/vfio/virqfd.o' failed

Thank you.  We've already got a patch posted on the mailing list that
will make this code dependent on CONFIG_EVENTFD.  Thanks,

Alex