cloud-hypervisor/vmm/src
Rob Bradford 8fa3864ae8 vmm: acpi: Fix clippy (needless_late_init) issue
warning: unneeded late initalization
   --> vmm/src/acpi.rs:525:5
    |
525 |     let mut prev_tbl_len: u64;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(clippy::needless_late_init)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
help: declare `prev_tbl_len` here
    |
552 |     let mut prev_tbl_len: u64 = madt.len() as u64;
    |     ~~~~~~~~~~~~~~~~~~~~~~~~~

warning: unneeded late initalization
   --> vmm/src/acpi.rs:526:5
    |
526 |     let mut prev_tbl_off: GuestAddress;
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_late_init
help: declare `prev_tbl_off` here
    |
553 |     let mut prev_tbl_off: GuestAddress = madt_offset;
    |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-01-07 08:16:26 -08:00
..
api vmm: openapi: Add receive/send-migration endpoints 2021-12-09 08:49:19 -08:00
acpi.rs vmm: acpi: Fix clippy (needless_late_init) issue 2022-01-07 08:16:26 -08:00
clone3.rs vmm: notify virtio-console of pty resizes 2021-09-14 15:43:25 +01:00
config.rs vmm: Update comments related with enum Error struct in config.rs 2021-11-26 10:22:57 +01:00
cpu.rs vmm: Fix potential deadlock in CpuManager 2022-01-06 09:59:36 +01:00
device_manager.rs vmm, pci: Fix potential deadlock in PCI BAR allocation 2022-01-06 09:59:36 +01:00
device_tree.rs vmm, build: Remove use of "credibility" from unit tests 2022-01-05 12:35:50 +01:00
interrupt.rs vmm: Update devid in kvm_irq_routing_entry 2021-12-01 09:24:01 +08:00
lib.rs vmm, build: Remove use of "credibility" from unit tests 2022-01-05 12:35:50 +01:00
memory_manager.rs vmm: Improve logging related to memory management 2021-12-04 23:04:32 +01:00
migration.rs vmm: Simplify snapshot/restore path handling 2021-03-12 13:03:01 +01:00
pci_segment.rs vmm: Rename PCI_MMIO_CONFIG_SIZE and move it to arch 2021-12-06 09:29:49 +00:00
seccomp_filters.rs vmm: seccomp: Remove set_tid_address syscall from seccomp filter 2022-01-06 09:52:39 -08:00
serial_buffer.rs vmm: Refactor serial buffer to allow flush on PTY when writable 2021-09-27 14:18:21 +01:00
serial_manager.rs vmm: Refactor serial buffer to allow flush on PTY when writable 2021-09-27 14:18:21 +01:00
sigwinch_listener.rs vmm: Fix panic in SIGWINCH listener thread when no seccomp filter set 2021-11-16 14:28:02 +00:00
vm.rs vmm: Fix potential deadlock in CpuManager 2022-01-06 09:59:36 +01:00