Re: [PATCH -next] HID: picoLCD: Add missing #include<linux/uaccess.h>

From: Jiri Kosina
Date: Wed Aug 22 2012 - 10:28:33 EST


On Tue, 21 Aug 2012, Geert Uytterhoeven wrote:

> m68k/allmodconfig:
>
> drivers/hid/hid-picolcd_debugfs.c: In function âpicolcd_debug_reset_writeâ:
> drivers/hid/hid-picolcd_debugfs.c:54: error: implicit declaration of function âcopy_from_userâ
> drivers/hid/hid-picolcd_debugfs.c: In function âpicolcd_debug_eeprom_readâ:
> drivers/hid/hid-picolcd_debugfs.c:112: error: implicit declaration of function âcopy_to_userâ
>
> Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> ---
> http://kisskb.ellerman.id.au/kisskb/buildresult/6990818/
>
> drivers/hid/hid-picolcd_debugfs.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hid/hid-picolcd_debugfs.c b/drivers/hid/hid-picolcd_debugfs.c
> index f2491fa..15c22f2 100644
> --- a/drivers/hid/hid-picolcd_debugfs.c
> +++ b/drivers/hid/hid-picolcd_debugfs.c
> @@ -27,6 +27,7 @@
> #include <linux/debugfs.h>
>
> #include <linux/module.h>
> +#include <linux/uaccess.h>
>
> #include "hid-picolcd.h"

Applied, thanks Geert.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/