Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust_binder: remove warning about orphan mappings

This condition occurs if a thread dies while processing a transaction.
We should not print anything in this scenario.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alice Ryhl and committed by
Greg Kroah-Hartman
c7c090af 7e69a24b

-4
-4
drivers/android/binder/process.rs
··· 1346 1346 .alloc 1347 1347 .take_for_each(|offset, size, debug_id, odata| { 1348 1348 let ptr = offset + address; 1349 - pr_warn!( 1350 - "{}: removing orphan mapping {offset}:{size}\n", 1351 - self.pid_in_current_ns() 1352 - ); 1353 1349 let mut alloc = 1354 1350 Allocation::new(self.clone(), debug_id, offset, size, ptr, false); 1355 1351 if let Some(data) = odata {