From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751557AbbCSEto (ORCPT ); Thu, 19 Mar 2015 00:49:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42680 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750731AbbCSEtl (ORCPT ); Thu, 19 Mar 2015 00:49:41 -0400 Message-ID: <1426740574.3643.435.camel@redhat.com> Subject: Re: randconfig build error with next-20150318, in drivers/vfio/virqfd.c From: Alex Williamson To: Jim Davis Cc: Stephen Rothwell , linux-next , linux-kernel , kvm@vger.kernel.org Date: Wed, 18 Mar 2015 22:49:34 -0600 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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