public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Greg KH <greg@kroah•com>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	Alek Du <alek.du@intel•com>, Jacob Pan <jacob.jun.pan@intel•com>
Subject: linux-next: build failure after merge of the final tree (usb tree related)
Date: Thu, 17 Jun 2010 14:53:31 +1000	[thread overview]
Message-ID: <20100617145331.7bbefc4a.sfr@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]

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@canb•auug.org.au>
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@canb•auug.org.au>
---
 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@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2010-06-17  4:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-17  4:53 Stephen Rothwell [this message]
2010-06-17 17:25 ` linux-next: build failure after merge of the final tree (usb tree related) Greg KH
2010-06-17 22:34   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2012-10-23  4:13 Stephen Rothwell
2012-10-23  4:22 ` Greg KH
2010-04-30  6:05 Stephen Rothwell
2010-04-30  6:22 ` Heikki Krogerus
2010-05-03  4:57   ` Stephen Rothwell
2010-05-03 17:13     ` Greg KH
2010-05-03 17:35       ` Greg KH
2010-05-03 18:02         ` Greg KH
2010-05-03 22:40           ` Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100617145331.7bbefc4a.sfr@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=alek.du@intel$(echo .)com \
    --cc=greg@kroah$(echo .)com \
    --cc=jacob.jun.pan@intel$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox