[PATCH] rust_binder: update indentation of failed transaction print

Alice Ryhl <[email protected]> Tue, 28 Jul 2026 06:12:35 +0000
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
To properly take the changes from commit bb66b1a34525 ("rust_binder:
only print failure if error has source") into account, the
binder_debug! statement was moved inside the if {} block, and so there
must be one more level of indentation.

Signed-off-by: Alice Ryhl <[email protected]>
---
 drivers/android/binder/thread.rs | 34 ++++++++++++++++----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/drivers/android/binder/thread.rs b/drivers/android/binder/thread.rs
index 9f3b0c9255b3..96e69eb1539e 100644
--- a/drivers/android/binder/thread.rs
+++ b/drivers/android/binder/thread.rs
@@ -1296,23 +1296,23 @@ fn transaction(self: &Arc<Self>, cmd: u32, reader: &mut UserSliceReader) -> Resu
                             ExtendedError::new(info.debug_id as u32, err.reply, source.to_errno());
                     }
 
-                binder_debug!(
-                    FailedTransaction,
-                    "transaction {} to {}:{} failed {:?}, code {} size {}-{}",
-                    if info.is_reply {
-                        "reply"
-                    } else if info.is_oneway() {
-                        "async"
-                    } else {
-                        "call"
-                    },
-                    info.to_pid,
-                    info.to_tid,
-                    err,
-                    info.code,
-                    info.data_size,
-                    info.offsets_size
-                );
+                    binder_debug!(
+                        FailedTransaction,
+                        "transaction {} to {}:{} failed {:?}, code {} size {}-{}",
+                        if info.is_reply {
+                            "reply"
+                        } else if info.is_oneway() {
+                            "async"
+                        } else {
+                            "call"
+                        },
+                        info.to_pid,
+                        info.to_tid,
+                        err,
+                        info.code,
+                        info.data_size,
+                        info.offsets_size
+                    );
                 }
             }
         }

base-commit: 0957fbab972a9499626ac457fd924b24491c6315
-- 
2.55.0.229.g6434b31f56-goog