Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500Ab3COUP4 (ORCPT ); Fri, 15 Mar 2013 16:15:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15712 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754774Ab3COUPy (ORCPT ); Fri, 15 Mar 2013 16:15:54 -0400 Message-ID: <1363378546.16793.26.camel@ul30vt.home> Subject: Re: [PATCH] vfio: include for kmalloc From: Alex Williamson To: Arnd Bergmann Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Date: Fri, 15 Mar 2013 14:15:46 -0600 In-Reply-To: <1363298204-8014-6-git-send-email-arnd@arndb.de> References: <1363298204-8014-1-git-send-email-arnd@arndb.de> <1363298204-8014-6-git-send-email-arnd@arndb.de> 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 Content-Length: 1480 Lines: 51 On Thu, 2013-03-14 at 22:56 +0100, Arnd Bergmann wrote: > The vfio drivers call kmalloc or kzalloc, but do not > include , which causes build errors on > ARM. > > Signed-off-by: Arnd Bergmann > Cc: Alex Williamson > Cc: kvm@vger.kernel.org > --- > Please apply for 3.9 Applied, Thanks, Alex > drivers/vfio/pci/vfio_pci_config.c | 1 + > drivers/vfio/pci/vfio_pci_intrs.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c > index 964ff22..aeb00fc 100644 > --- a/drivers/vfio/pci/vfio_pci_config.c > +++ b/drivers/vfio/pci/vfio_pci_config.c > @@ -27,6 +27,7 @@ > #include > #include > #include > +#include > > #include "vfio_pci_private.h" > > diff --git a/drivers/vfio/pci/vfio_pci_intrs.c b/drivers/vfio/pci/vfio_pci_intrs.c > index 3639371..a965091 100644 > --- a/drivers/vfio/pci/vfio_pci_intrs.c > +++ b/drivers/vfio/pci/vfio_pci_intrs.c > @@ -22,6 +22,7 @@ > #include > #include > #include > +#include > > #include "vfio_pci_private.h" > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/