On Tue, Nov 8, 2016 at 6:01 PM, Johan Hovold <johan@xxxxxxxxxx> wrote: > Drop invalid user-pointer check from TIOCGSERIAL handler. > > A NULL-pointer can be valid in user space and copy_to_user() takes care > of sanity checking. > > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx> > --- > drivers/staging/greybus/uart.c | 3 --- > 1 file changed, 3 deletions(-) Reviewed-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel