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

Add __user annotation to gasket core 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
drivers/staging/gasket/gasket_ioctl.h