diff options
author | Johan Hovold <johan@kernel.org> | 2016-11-08 13:24:53 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 14:41:25 +0100 |
commit | 6f8ada1292904c8299daa019634b3cddcf2a31c3 (patch) | |
tree | c9cb8f3d7dcf8748e48d37bc5a0c70d5a7a9f786 /mm/memory_hotplug.c | |
parent | 8250: FIX Fourth port offset of Pericom PI7C9X7954 boards (diff) | |
download | linux-6f8ada1292904c8299daa019634b3cddcf2a31c3.tar.xz linux-6f8ada1292904c8299daa019634b3cddcf2a31c3.zip |
tty: amiserial: 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.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions