Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59ab5af7 authored by Todd Poynor's avatar Todd Poynor Committed by Greg Kroah-Hartman
Browse files

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: default avatarZhongze Hu <frankhu@chromium.org>
Signed-off-by: default avatarTodd Poynor <toddpoynor@google.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 51a2ee0a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);