Skip to content
Commit 2fbd69c4 authored by Johan Hovold's avatar Johan Hovold
Browse files

USB: serial: fix invalid user-pointer checks



Drop invalid user-pointer checks from ioctl handlers.

A NULL-pointer can be valid in user space and copy_to_user() takes care
of sanity checking.

Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent a98b6900
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment