* [PATCH] serial/usb_wwan: Add missing uaccess.h / fix build failure
@ 2010-12-09 22:27 Peter Huewe
2010-12-10 12:45 ` Sergei Shtylyov
0 siblings, 1 reply; 2+ messages in thread
From: Peter Huewe @ 2010-12-09 22:27 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Matthew Garrett, Jiri Kosina, Dan Williams, Joe Perches,
linux-usb, linux-kernel, Peter Huewe
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] serial/usb_wwan: Add missing uaccess.h / fix build failure
2010-12-09 22:27 [PATCH] serial/usb_wwan: Add missing uaccess.h / fix build failure Peter Huewe
@ 2010-12-10 12:45 ` Sergei Shtylyov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2010-12-10 12:45 UTC (permalink / raw)
To: Peter Huewe
Cc: Greg Kroah-Hartman, Matthew Garrett, Jiri Kosina, Dan Williams,
Joe Perches, linux-usb, linux-kernel
Hello.
On 10-12-2010 1:27, Peter Huewe wrote:
> This patch fixes a build failure[1]
You reference will be lost when the patch is applied, as it's below the
tearline.
> 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
WBR, Sergei
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-10 12:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-09 22:27 [PATCH] serial/usb_wwan: Add missing uaccess.h / fix build failure Peter Huewe
2010-12-10 12:45 ` Sergei Shtylyov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.