From: Peter Huewe <peterhuewe@gmx.de>
To: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Matthew Garrett <mjg@redhat.com>, Jiri Kosina <jkosina@suse.cz>,
Dan Williams <dcbw@redhat.com>, Joe Perches <joe@perches.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Peter Huewe <peterhuewe@gmx.de>
Subject: [PATCH] serial/usb_wwan: Add missing uaccess.h / fix build failure
Date: Thu, 9 Dec 2010 23:27:35 +0100 [thread overview]
Message-ID: <1291933655-23130-1-git-send-email-peterhuewe@gmx.de> (raw)
This patch fixes a build failure[1] by adding the missing uaccess.h needed
for copy_from_user and copy_to_user
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
KernelVersion: linux-next-20101209
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/3607218/
Used Config:
s3c2410_defconfig
drivers/usb/serial/usb_wwan.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c
index 660b7ca..b004b2a 100644
--- a/drivers/usb/serial/usb_wwan.c
+++ b/drivers/usb/serial/usb_wwan.c
@@ -31,6 +31,7 @@
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/bitops.h>
+#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/serial.h>
--
1.7.2.2
next reply other threads:[~2010-12-09 22:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 22:27 Peter Huewe [this message]
2010-12-10 12:45 ` Sergei Shtylyov
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=1291933655-23130-1-git-send-email-peterhuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=dcbw@redhat.com \
--cc=gregkh@suse.de \
--cc=jkosina@suse.cz \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mjg@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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
all inboxes | Powered by JetHome®