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

From: Alex Williamson
Date: Thu Mar 19 2015 - 00:49:51 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/