We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e648ca commit 10a5641Copy full SHA for 10a5641
src/drivers/nvme.rs
@@ -305,7 +305,7 @@ impl vroom::Allocator for NvmeAllocator {
305
"NVMe driver: The given virtual address could not be mapped to a physical one."
306
.into(),
307
);
308
- };
+ };
309
Ok(physical_address.as_usize() as *mut T)
310
}
311
src/drivers/pci.rs
@@ -414,7 +414,8 @@ impl PciDriver {
414
fn nvme_handler() {}
415
(irq_number, nvme_handler)
416
417
- _ => todo!(),
+ #[allow(unreachable_patterns)]
418
+ _ => todo!(),
419
420
421
0 commit comments