staging: gasket: fix check_and_invoke_callback log param

The message should be passed the callback function pointer, not
the pointer to the gasket device.

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>
This commit is contained in:
Todd Poynor 2018-07-21 06:34:54 -07:00 committed by Greg Kroah-Hartman
parent 51a2ee0a4e
commit 59ab5af731

View File

@ -205,7 +205,7 @@ static inline int check_and_invoke_callback(
{
int ret = 0;
gasket_nodev_error("check_and_invoke_callback %p", gasket_dev);
gasket_nodev_error("check_and_invoke_callback %p", cb_function);
if (cb_function) {
mutex_lock(&gasket_dev->mutex);
ret = cb_function(gasket_dev);