linux/drivers/android/binder
Miguel Ojeda 2adc866401 rust: allow clippy::collapsible_if globally
Similar to `clippy::collapsible_match` (globally allowed in the previous
commit), the `clippy::collapsible_if` lint [1] can make code harder to
read in certain cases.

Thus just let developers decide on their own.

In addition, remove the existing `expect` we had.

Cc: stable@vger.kernel.org # Needed in 6.12.y and later (Rust is pinned in older LTSs).
Suggested-by: Gary Guo <gary@garyguo.net>
Link: https://lore.kernel.org/rust-for-linux/DGROP5CHU1QZ.1OKJRAUZXE9WC@garyguo.net/
Link: https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [1]
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260426144201.227108-2-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
2026-04-30 23:21:31 +02:00
..
node
range_alloc rust: allow clippy::collapsible_if globally 2026-04-30 23:21:31 +02:00
allocation.rs rust_binder: add fd translation tracepoints 2026-04-01 12:18:22 +02:00
context.rs rust_binder: shrink all_procs when deregistering processes 2026-02-26 21:37:53 -08:00
deferred_close.rs
defs.rs
error.rs rust_binder: introduce TransactionInfo 2026-03-31 15:13:56 +02:00
freeze.rs Rust changes for v6.19 2025-12-03 14:16:49 -08:00
Makefile rust: declare cfi_encoding for lru_status 2026-04-07 10:00:25 +02:00
node.rs rust_binder: add binder_transaction tracepoint 2025-12-29 12:14:52 +01:00
page_range.rs mm.git review status for linus..mm-stable 2026-04-15 12:59:16 -07:00
process.rs rust_binder: add ioctl/read/write done tracepoints 2026-04-01 12:18:22 +02:00
rust_binder_events.c
rust_binder_events.h rust_binder: add command/return tracepoints 2026-04-01 12:18:22 +02:00
rust_binder_internal.h
rust_binder_main.rs Char/Misc/IIO/and others driver updates for 7.1-rc1 2026-04-24 13:23:50 -07:00
rust_binder.h rust_binder: add fd translation tracepoints 2026-04-01 12:18:22 +02:00
rust_binderfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
stats.rs rust_binder: Switch to kernel::sync atomic primitives 2026-01-09 19:01:41 +08:00
thread.rs rust_binder: add command/return tracepoints 2026-04-01 12:18:22 +02:00
trace.rs rust_binder: add command/return tracepoints 2026-04-01 12:18:22 +02:00
transaction.rs rust_binder: add transaction_received tracepoint 2026-04-01 12:18:22 +02:00