]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7661451ad96f78c80ff80ca4a42f3bbfd2ebb63
tree248c8c29e5bb83864ed5566bfbfccaeee0d2ab13
parent5ca470f0c53f394201d206f9f71f43c8e9910589
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