]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
binder: fix reversed pid/tid in log
authorCarlos Llamas <cmllamas@google.com>
Thu, 5 Jun 2025 14:19:29 +0000 (14:19 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jun 2025 16:23:55 +0000 (17:23 +0100)
The "pid:tid" format is used consistently throughout the driver's logs
with the exception of this one place where the arguments are reversed.
Let's fix that. Also, collapse a multi-line comment into a single line.

Cc: Steven Moreland <smoreland@google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250605141930.1069438-1-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c

index c463ca4a8fff81967ea7d8d83930ae19dc34ce6b..2bd8ac943171b4367388c96825d18d81409600d3 100644 (file)
@@ -3144,10 +3144,8 @@ static void binder_transaction(struct binder_proc *proc,
                }
                if (!target_node) {
                        binder_txn_error("%d:%d cannot find target node\n",
-                               thread->pid, proc->pid);
-                       /*
-                        * return_error is set above
-                        */
+                                        proc->pid, thread->pid);
+                       /* return_error is set above */
                        return_error_param = -EINVAL;
                        return_error_line = __LINE__;
                        goto err_dead_binder;