[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111103143256.216308862667829a1fccfdf2@canb.auug.org.au>
Date: Thu, 3 Nov 2011 14:32:56 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Jesse Barnes <jbarnes@...tuousgeek.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Randy Dunlap <rdunlap@...otime.net>,
Paul Gortmaker <paul.gortmaker@...driver.com>
Subject: Re: linux-next: build failure after merge of the pci-current tree
Hi Jesse,
On Thu, 3 Nov 2011 12:53:25 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> After merging the pci-current tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/pci/ats.c:13:26: fatal error: linux/export.h: No such file or directory
>
> Caused by commit 571eba1b8aa9 ("PCI: Fix compile errors with PCI_ATS and !
> PCI_IOV").
I have added that patch as a merge fix where I merge the module.h split
up tree. (Included below for Paul's benefit.)
From: Randy Dunlap <rdunlap@...otime.net>
Date: Mon, 31 Oct 2011 10:31:01 -0700
Subject: [PATCH] PCI: Fix compile errors with PCI_ATS and !PCI_IOV
For linux-next (where the module-split tree is being worked),
drivers/pci/ats.c also needs to include <linux/export.h> to fix build
warnings:
drivers/pci/ats.c:96:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
drivers/pci/ats.c:127:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL'
etc.
Signed-off-by: Randy Dunlap <rdunlap@...otime.net>
Signed-off-by: Jesse Barnes <jbarnes@...tuousgeek.org>
---
drivers/pci/ats.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c
index f727a09..7ec56fb 100644
--- a/drivers/pci/ats.c
+++ b/drivers/pci/ats.c
@@ -10,6 +10,7 @@
* PASID support added by Joerg Roedel <joerg.roedel@....com>
*/
+#include <linux/export.h>
#include <linux/pci-ats.h>
#include <linux/pci.h>
--
1.7.7.1
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists