cloud-hypervisor/devices/src
Rob Bradford 3ad94ddf7c devices: rtc_pl031: Don't use manual range check
error: manual `Range::contains` implementation
Error:    --> devices/src/legacy/rtc_pl031.rs:342:12
    |
342 |         if offset < AMBA_ID_HIGH && offset >= AMBA_ID_LOW {
    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(AMBA_ID_LOW..AMBA_ID_HIGH).contains(&offset)`
    |
    = note: `-D clippy::manual-range-contains` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-01-04 13:46:37 +01:00
..
legacy devices: rtc_pl031: Don't use manual range check 2021-01-04 13:46:37 +01:00
acpi.rs misc: Make Bus::write() return an Option<Arc<Barrier>> 2020-12-17 11:23:53 +00:00
gic.rs devices: remove the migration traits for the Gic struct 2020-09-23 12:37:25 +01:00
interrupt_controller.rs devices: ioapic: Always retrieve destination field on 8 bits 2020-10-01 14:35:38 +01:00
ioapic.rs misc: Remove unnecessary literal casts 2021-01-04 13:46:37 +01:00
lib.rs devices, vm-device: Move BusDevice and Bus into vm-device 2020-09-10 09:35:38 +01:00