Subject: Re: [PATCH -next] staging: dgrp: Add missing #include <linux/uaccess.h>

From: Greg Kroah-Hartman <[email-masked]>
Date: Wed, 17 Oct 2012 13:56:43 -0700

On Thu, Oct 11, 2012 at 02:40:30PM +0200, Geert Uytterhoeven wrote:
> On Thu, Sep 27, 2012 at 8:38 PM, Geert Uytterhoeven
> <[email-masked]> wrote:
> > On m68k:
> 
> Now also in mainline, cfr.
> http://kisskb.ellerman.id.au/kisskb/buildresult/7344531/
> 
> > drivers/staging/dgrp/dgrp_mon_ops.c: In function ‘dgrp_mon_read’:
> > drivers/staging/dgrp/dgrp_mon_ops.c:304: error: implicit declaration of function ‘copy_to_user’
> > drivers/staging/dgrp/dgrp_specproc.c: In function ‘config_proc_write’:
> > drivers/staging/dgrp/dgrp_specproc.c:470: error: implicit declaration of function ‘copy_from_user’
> > drivers/staging/dgrp/dgrp_tty.c: In function ‘drp_wmove’:
> > drivers/staging/dgrp/dgrp_tty.c:1284: error: implicit declaration of function ‘copy_from_user’
> > drivers/staging/dgrp/dgrp_tty.c: In function ‘get_modem_info’:
> > drivers/staging/dgrp/dgrp_tty.c:2267: error: implicit declaration of function ‘put_user’
> > drivers/staging/dgrp/dgrp_tty.c: In function ‘set_modem_info’:
> > drivers/staging/dgrp/dgrp_tty.c:2283: error: implicit declaration of function ‘access_ok’
> > drivers/staging/dgrp/dgrp_tty.c:2283: error: ‘VERIFY_READ’ undeclared (first use in this function)
> > drivers/staging/dgrp/dgrp_tty.c:2283: error: (Each undeclared identifier is reported only once
> > drivers/staging/dgrp/dgrp_tty.c:2283: error: for each function it appears in.)
> > drivers/staging/dgrp/dgrp_tty.c:2287: error: implicit declaration of function ‘get_user’
> > drivers/staging/dgrp/dgrp_tty.c: In function ‘dgrp_tty_digigetedelay’:
> > drivers/staging/dgrp/dgrp_tty.c:2474: error: implicit declaration of function ‘copy_to_user’
> > drivers/staging/dgrp/dgrp_tty.c: In function ‘dgrp_tty_ioctl’:
> > drivers/staging/dgrp/dgrp_tty.c:2618: error: ‘VERIFY_WRITE’ undeclared (first use in this function)
> >
> > Signed-off-by: Geert Uytterhoeven <[email-masked]>

Yes, now in my tree, will go to Linus this week.

thanks,

greg k-h