Messages in this thread Patch in this message | | | From | Todd Poynor <> | Subject | [PATCH 01/14] staging: gasket: fix check_and_invoke_callback log param | Date | Sat, 21 Jul 2018 05:56:41 -0700 |
| |
From: Todd Poynor <toddpoynor@google.com>
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> --- drivers/staging/gasket/gasket_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/gasket/gasket_core.c b/drivers/staging/gasket/gasket_core.c index 40e46ca5228c8..2cd232230845c 100644 --- a/drivers/staging/gasket/gasket_core.c +++ b/drivers/staging/gasket/gasket_core.c @@ -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); -- 2.18.0.233.g985f88cf7e-goog
| |