virtio-devices: reevaluate #[allow] attributes

Convert the still-needed #[allow]s to #[expect] so they warn if the
lints stop firing.

Part of #8326.

Signed-off-by: Tushar Khatri <hello@tusharkhatri.in>
This commit is contained in:
Tushar Khatri
2026-06-11 15:39:51 +00:00
committed by Rob Bradford
parent 712d42e6ac
commit 4f68b687aa
15 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ pub struct Mem {
impl Mem {
// Create a new virtio-mem device.
#[allow(clippy::too_many_arguments)]
#[expect(clippy::too_many_arguments)]
pub fn new(
id: String,
region: &Arc<GuestRegionMmap>,