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 b5bd0f8 commit 4f9d7b2Copy full SHA for 4f9d7b2
uefi/src/proto/dma/iommu.rs
@@ -50,7 +50,7 @@ impl Iommu {
50
operation: EdkiiIommuOperation,
51
host_buffer: &DmaBuffer,
52
number_of_bytes: usize,
53
- ) -> Result<(PhysicalAddress, Mapping, usize)> {
+ ) -> Result<(PhysicalAddress, Mapping<'_>, usize)> {
54
let mut number_of_bytes = number_of_bytes;
55
56
let mut mapping_raw: *mut c_void = core::ptr::null_mut();
@@ -87,7 +87,7 @@ impl Iommu {
87
memory_type: MemoryType,
88
pages: usize,
89
attributes: EdkiiIommuAttribute,
90
- ) -> Result<DmaBuffer> {
+ ) -> Result<DmaBuffer<'_>> {
91
let mut host_address: *mut c_void = core::ptr::null_mut();
92
93
// Must be ignored
0 commit comments