[PATCH v3 0/3] replace `allow(...)` lints with `expect(...)`

Onur Özkan posted 3 patches 3 months, 1 week ago
There is a newer version of this series
drivers/gpu/nova-core/regs.rs       | 2 +-
rust/kernel/alloc/allocator_test.rs | 2 +-
rust/kernel/cpufreq.rs              | 1 -
rust/kernel/devres.rs               | 2 +-
rust/kernel/driver.rs               | 2 +-
rust/kernel/drm/ioctl.rs            | 8 ++++----
rust/kernel/error.rs                | 3 +--
rust/kernel/init.rs                 | 6 +++---
rust/kernel/kunit.rs                | 2 +-
rust/kernel/opp.rs                  | 4 ++--
rust/kernel/types.rs                | 2 +-
rust/macros/helpers.rs              | 2 +-
12 files changed, 17 insertions(+), 19 deletions(-)
[PATCH v3 0/3] replace `allow(...)` lints with `expect(...)`
Posted by Onur Özkan 3 months, 1 week ago
Changes in v3:
  - `#![expect(internal_features)]` is reverted from
  `rust/compiler_builtins.rs` which was done in the
  first 2 versions.

Onur Özkan (3):
  replace `#[allow(...)]` with `#[expect(...)]`
  rust: remove `#[allow(clippy::unnecessary_cast)]`
  rust: remove `#[allow(clippy::non_send_fields_in_send_ty)]`

 drivers/gpu/nova-core/regs.rs       | 2 +-
 rust/kernel/alloc/allocator_test.rs | 2 +-
 rust/kernel/cpufreq.rs              | 1 -
 rust/kernel/devres.rs               | 2 +-
 rust/kernel/driver.rs               | 2 +-
 rust/kernel/drm/ioctl.rs            | 8 ++++----
 rust/kernel/error.rs                | 3 +--
 rust/kernel/init.rs                 | 6 +++---
 rust/kernel/kunit.rs                | 2 +-
 rust/kernel/opp.rs                  | 4 ++--
 rust/kernel/types.rs                | 2 +-
 rust/macros/helpers.rs              | 2 +-
 12 files changed, 17 insertions(+), 19 deletions(-)

--
2.50.0