From d42d3fec7a9535b664b89d30fd48c90feda59957 Mon Sep 17 00:00:00 2001 From: Dylan Reid Date: Thu, 11 Jun 2020 14:40:57 -0700 Subject: [PATCH] io_uring: update for mmap api change A recent change to sys_util moved the definition of 'as_ptr' for an mmap to a new trait, include that trait here. Change-Id: Ib48113738fdace50e2dc7f72a5107dd95db867f9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2241590 Reviewed-by: Daniel Verkamp Reviewed-by: Stephen Barber Tested-by: Dylan Reid Tested-by: kokoro Commit-Queue: Dylan Reid --- io_uring/src/uring.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io_uring/src/uring.rs b/io_uring/src/uring.rs index 8a69872d41..2a78753d06 100644 --- a/io_uring/src/uring.rs +++ b/io_uring/src/uring.rs @@ -9,7 +9,7 @@ use std::os::unix::io::{AsRawFd, FromRawFd, RawFd}; use std::ptr::null_mut; use std::sync::atomic::{AtomicU32, Ordering}; -use sys_util::{MemoryMapping, WatchingEvents}; +use sys_util::{MappedRegion, MemoryMapping, WatchingEvents}; use crate::bindings::*; use crate::syscalls::*;