staging: gasket: top ioctl handler add __user annotations
authorTodd Poynor <toddpoynor@google.com>
Fri, 20 Jul 2018 03:49:17 +0000 (20:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:50:35 +0000 (08:50 +0200)
commit761d8db71436d8c67bcac85aa62860cb5848fecf
tree248c8c29e5bb83864ed5566bfbfccaeee0d2ab13
parented74277bd80a47ec552ccf3581583421c3a4df5d
staging: gasket: top ioctl handler add __user annotations

Add __user annotation to gasket_core top-level ioctl handling 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_core.c
drivers/staging/gasket/gasket_core.h