crosvm/devices/src
Daniel Verkamp 3f1a383a49 Exclude a few dead_code instances
These are mostly places where a field in a struct is only kept around
for lifetime reasons.

Annotating the individual instances means that we don't have to turn off
the warning for new code.

BUG=b:365852007

Change-Id: I9172ea28cc12779331cd48c2c6ad1003d7ca02f8
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5966505
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2024-11-05 00:16:59 +00:00
..
irqchip devices: irqchip: add snapshot/restore for kvm arm64 2024-07-23 18:07:43 +00:00
pci Ensure all packed structs are also repr(C) 2024-08-05 17:59:28 +00:00
platform Replace ::max_value() with ::MAX 2024-07-09 23:26:03 +00:00
register_space Exclude a few dead_code instances 2024-11-05 00:16:59 +00:00
serial devices: serial: windows: fix bad timer usage 2024-09-03 18:19:23 +00:00
sys crosvm: support passing pci address for virtio-console serial devices 2024-02-26 20:08:41 +00:00
tsc clippy: enforce safety block comments 2023-12-14 18:21:54 +00:00
usb devices: fix clippy::manual_unwrap_or_default lints 2024-10-28 17:42:27 +00:00
utils Reformat comments 2024-02-15 23:30:13 +00:00
virtio devices: fs: check root_dir is a valid CString 2024-10-29 17:58:55 +00:00
ac_adapter.rs tree-wide: apply nightly rustfmt 2023-03-27 21:30:45 +00:00
acpi.rs Fix bad indentation in Markdown around lists 2024-09-10 02:05:59 +00:00
bat.rs bat: Add fake_power/resume_fake_power crosvm_control api 2024-10-29 07:04:36 +00:00
bus.rs devices: bus: add test for read() zeroing behavior 2024-10-16 17:24:55 +00:00
bus_stats.rs clippy: Disallow len_without_is_empty and len_zero 2023-05-22 21:27:21 +00:00
cmos.rs cmos: Extend sci resampling to rtc 2024-05-03 00:36:47 +00:00
debugcon.rs Fix byte_char_slices clippy warnings 2024-09-17 19:49:53 +00:00
fw_cfg.rs Reformat comments 2024-02-15 23:30:13 +00:00
i8042.rs devices: change snapshot to take a mutable device 2023-11-13 23:44:57 +00:00
irq_event.rs Reformat comments 2024-02-15 23:30:13 +00:00
lib.rs devices: add virtcpufreq_v2 2024-10-23 18:34:53 +00:00
pflash.rs Add snapshot/restore to pflash 2024-06-07 18:16:39 +00:00
pit.rs base: Separate TimerTrait::reset into 2 functions 2024-04-18 09:23:31 +00:00
pl030.rs devices: pl030: Suspendable impl 2024-06-04 17:16:16 +00:00
pmc_virt.rs Apply nightly rustfmt import style 2023-09-06 22:13:26 +00:00
proxy.rs devices: proxy: log device name in errors 2024-08-16 18:00:23 +00:00
serial.rs Fix byte_char_slices clippy warnings 2024-09-17 19:49:53 +00:00
serial_device.rs devices: virtio-console: deprecate legacy-virtio-console option 2024-11-01 21:19:02 +00:00
suspendable.rs devices: change snapshot to take a mutable device 2023-11-13 23:44:57 +00:00
sys.rs Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00
tsc.rs Reformat comments 2024-02-15 23:30:13 +00:00
vfio.rs Replace ::max_value() with ::MAX 2024-07-09 23:26:03 +00:00
virtcpufreq.rs Allow users to specify custom cpu frequencies for vCPUs 2024-07-24 17:19:04 +00:00
virtcpufreq_v2.rs virtcpufreq_v2: Add a way to throttle vCPUs 2024-11-04 22:21:35 +00:00
vmwdt.rs devices: vmwdt: fix potential timer deadlock 2024-09-03 18:16:13 +00:00
vtpm_proxy.rs clippy: Disallow new_without_default 2023-05-22 21:14:06 +00:00