summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2016-11-08 13:28:23 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-10 13:16:57 +0100
commit04cbf3832bbe21ac473e6b79571fce0c7f10a087 (patch)
treeb03542fc91cc1ec9ea16051a6b3f267b9a4bfb19 /arch
parent11f107f708fd853bf48d5b0f8bb886e42fa009e3 (diff)
USB: cdc-acm: 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> Acked-by: Oliver Neukum <oneukum@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions