OSDN Git Service

staging: gasket: apex ioctl add __user annotations
authorTodd Poynor <toddpoynor@google.com>
Fri, 20 Jul 2018 03:49:18 +0000 (20:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:50:36 +0000 (08:50 +0200)
commitc13435deaadca078ce5651c43ed8d7561215b20a
tree5b248a2c5b120d4e9b1f4d18a0bbda4a9165721e
parent761d8db71436d8c67bcac85aa62860cb5848fecf
staging: gasket: apex ioctl add __user annotations

Add __user annotation to ioctl pointer argument, 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/apex_driver.c