[PATCH 0/3] rust_binder: consolidate transaction failure prints
From: Alice Ryhl
Date: Wed Oct 07 2026 - 10:49:23 EST
This series is split out from "Rate limited printing for Rust" [1] so it
can be routed through char-misc-next independently.
Patch 1 implements ZeroableOption for Error so that Option<Error> can be
stored in structs deriving Zeroable. Patch 2 updates TransactionInfo to
store Option<Error> instead of a raw i32 errno, and Patch 3 consolidates
the transaction failure prints into a single debug print.
Link: https://lore.kernel.org/r/20261007-pr-ratelimited-v6-0-f14accd4ea3b@xxxxxxxxxx [1]
Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
Alice Ryhl (3):
rust: error: implement ZeroableOption for Error
rust_binder: store Option<Error> in TransactionInfo
rust_binder: consolidate transaction failure prints
drivers/android/binder/error.rs | 4 --
drivers/android/binder/thread.rs | 78 +++++++++++++++--------------------
drivers/android/binder/transaction.rs | 28 ++++---------
rust/kernel/error.rs | 4 ++
4 files changed, 47 insertions(+), 67 deletions(-)
---
base-commit: d47322a612daf8e97b2e5e4dbbabdff27080c1ec
change-id: 20261007-binder-consolidate-txn-prints-c12311ee8f49
Best regards,
--
Alice Ryhl <aliceryhl@xxxxxxxxxx>