Johan Hovold 68832b20c9 serial: crisv10: fix invalid user-pointer check
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.

Cc: Mikael Starvik <starvik@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-10 14:41:25 +01:00
..
2015-11-20 16:19:54 -08:00
2016-10-30 06:42:10 -04:00
2016-04-30 09:26:55 -07:00
2016-09-27 12:55:27 +02:00
2016-10-30 06:42:10 -04:00
2016-02-06 22:16:21 -08:00
2016-02-14 14:36:04 -08:00
2014-12-14 16:10:09 -08:00
2016-10-30 06:42:10 -04:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00