Skip to content

Commit 8253ccf

Browse files
committed
binder: allow a few non_send_fields_in_send_ty Clippy cases
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 334eb69 commit 8253ccf

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/android/context.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ pub(crate) struct Context {
2121
manager: Mutex<Manager>,
2222
}
2323

24+
#[allow(clippy::non_send_fields_in_send_ty)]
2425
unsafe impl Send for Context {}
2526
unsafe impl Sync for Context {}
2627

drivers/android/process.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ pub(crate) struct Process {
260260
node_refs: Mutex<ProcessNodeRefs>,
261261
}
262262

263+
#[allow(clippy::non_send_fields_in_send_ty)]
263264
unsafe impl Send for Process {}
264265
unsafe impl Sync for Process {}
265266

0 commit comments

Comments
 (0)