pci: reevaluate #[allow] attributes

Drop stale #[allow]s whose lints no longer fire and convert the
rest to #[expect], which warns if they ever stop being needed.

Part of #8326.

Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
Tushar Khatri
2026-06-10 13:50:28 +00:00
committed by Rob Bradford
parent 7042922e83
commit 9eff92fb4b
4 changed files with 4 additions and 13 deletions

View File

@@ -73,7 +73,7 @@ impl PciSubclass for PciVfioUserSubclass {
}
impl VfioUserPciDevice {
#[allow(clippy::too_many_arguments)]
#[expect(clippy::too_many_arguments)]
pub fn new(
id: String,
vm: Arc<dyn hypervisor::Vm>,