diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2026-01-28 09:12:07 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-02-03 13:10:07 +0100 |
| commit | 4df29fb5bcebeea28b29386dec18355949512ca1 (patch) | |
| tree | d3fee9ab44f3762128c743e54847c68061375b22 /drivers/android | |
| parent | 9caa30dada9e8ec9b1b09cf95e6d1a806c86d101 (diff) | |
rust_binder: return p from rust_binder_transaction_target_node()
Somehow this got changed to NULL when I ported this to upstream it. No
idea how that happened.
Reported-by: Carlos Llamas <cmllamas@google.com>
Closes: https://lore.kernel.org/r/aXkEiC1sGOGfDuzI@google.com
Fixes: c1ea31205edf ("rust_binder: add binder_transaction tracepoint")
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://patch.msgid.link/20260128-binder-fix-target-node-null-v1-1-78d198ef55a5@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
| -rw-r--r-- | drivers/android/binder/rust_binder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/android/binder/rust_binder.h b/drivers/android/binder/rust_binder.h index e68ba7a23c34..d2284726c025 100644 --- a/drivers/android/binder/rust_binder.h +++ b/drivers/android/binder/rust_binder.h @@ -79,7 +79,7 @@ static inline rust_binder_node rust_binder_transaction_target_node(rust_binder_t if (p) p = p + RUST_BINDER_LAYOUT.n.arc_offset; - return NULL; + return p; } static inline rust_binder_process rust_binder_transaction_to_proc(rust_binder_transaction t) |
