diff options
| author | Johan Hovold <johan@kernel.org> | 2016-11-08 15:31:18 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 16:04:12 +0300 |
| commit | 4dfc109c7118ed8e2806c5395b9e9dd8f851f992 (patch) | |
| tree | 02fbadb49d1876427609d871e70f72eddf6a9e58 /include/linux/debugobjects.h | |
| parent | 52d0744d751d8f13511df15e776460bfb95bcf5c (diff) | |
| download | linux-4dfc109c7118ed8e2806c5395b9e9dd8f851f992.tar.xz | |
staging: greybus: uart: 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>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
