linux-next: build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/usb/host/ehci-dbg.c: In function 'fill_buffer':
drivers/usb/host/ehci-dbg.c:839: error: implicit declaration of function 'vmalloc'
drivers/usb/host/ehci-dbg.c:839: warning: cast to pointer from integer of different size
drivers/usb/host/ehci-dbg.c: In function 'debug_close':
drivers/usb/host/ehci-dbg.c:887: error: implicit declaration of function 'vfree'

Caused by commit b28e0eaa4a48bdc742978d6dd3688ef1db71928c ("USB:
ehci-dbg: increase debug buffer size for periodic file") from the usb
tree.

I added the following patch.
-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Oct 2008 19:19:03 +1100
Subject: [PATCH] usb: vmalloc needs include of vmalloc.h

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
 drivers/usb/host/ehci-dbg.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c
index 0cb53ca..7119036 100644
--- a/drivers/usb/host/ehci-dbg.c
+++ b/drivers/usb/host/ehci-dbg.c
@@ -18,6 +18,8 @@
 
 /* this file is part of ehci-hcd.c */
 
+#include <linux/vmalloc.h>
+
 #define ehci_dbg(ehci, fmt, args...) \
 	dev_dbg (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
 #define ehci_err(ehci, fmt, args...) \
-- 
1.5.6.5

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

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux