staging: gasket: common ioctls add __user annotations
authorTodd Poynor <toddpoynor@google.com>
Fri, 20 Jul 2018 03:49:20 +0000 (20:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:50:36 +0000 (08:50 +0200)
commit56edc4e3f909cf8d37e9aa16ce0b5dbc66734995
tree3202d0dfc8b1406cd80519e41229ac2df1f3c493
parentde3690d025fced530a587b820f00f67cd964289e
staging: gasket: common ioctls add __user annotations

Add __user annotation to gasket common ioctl pointer arguments for
sparse checking.

Reported-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Zhongze Hu <frankhu@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_ioctl.c