staging: gasket: gasket_handle_ioctl fix ioctl exit trace param
authorTodd Poynor <toddpoynor@google.com>
Sat, 21 Jul 2018 13:34:56 +0000 (06:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 11:56:45 +0000 (13:56 +0200)
commit8fc1cb4cef287fd61391adcc48f4a6bdc369bf49
tree63ea9a1d7b1d4c875e9716a0ccb5e8c0405b57af
parent996e650030857e791416af81d7d9171d9652bd9d
staging: gasket: gasket_handle_ioctl fix ioctl exit trace param

Pass the return value from the device ioctl permissions callback to the
tracepoint when the callback returns an error.

Reported-by: Dmitry Torokhov <dtor@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