Hi Greg, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/usb/host/ehci-hcd.c:113: drivers/usb/host/ehci-dbg.c: In function 'debug_lpm_write': drivers/usb/host/ehci-dbg.c:992: error: implicit declaration of function 'copy_from_user' Caused by commit a3c0b4b257eeaefe4e6c8fbf5ddfe674242f1b9e ("USB: EHCI: EHCI 1.1 addendum: preparation"). Presumably a missing include of linux/uaccess.h ... I applied this patch for today: From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Thu, 17 Jun 2010 14:49:09 +1000 Subject: [PATCH] usb: using copy_from_user in ehci-hcd requies the include of uaccess.h Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- drivers/usb/host/ehci-hcd.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 40928fe..8697ad1 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -36,6 +36,7 @@ #include <linux/dma-mapping.h> #include <linux/debugfs.h> #include <linux/slab.h> +#include <linux/uaccess.h> #include <asm/byteorder.h> #include <asm/io.h> -- 1.7.1 -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpMkH8ooazT0.pgp
Description: PGP signature