]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust_binder: only print failure if error has source
authorAlice Ryhl <aliceryhl@google.com>
Wed, 8 Jul 2026 12:00:26 +0000 (12:00 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Jul 2026 13:30:09 +0000 (15:30 +0200)
commitbb66b1a3452534adb8b72abf2f761375970fe472
treeeac66cd9c6c51d85c7bfe0d0a1b8061fe1a04709
parent761b785a0cfbce43761227bc42a7f984f31f8921
rust_binder: only print failure if error has source

The commit that fixes BINDER_GET_EXTENDED_ERROR changed the condition
for printing transaction failures so errors are printed even if the
cause is a dead or frozen process. Undo this change so that the error
is only printed if the failure has an errno associated with it.

Cc: stable@kernel.org
Fixes: 77bfebf11077 ("rust_binder: fix BINDER_GET_EXTENDED_ERROR")
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260708-get-extended-error-fix-printing-v1-1-6e293b213b70@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder/thread.rs