crosvm/sys_util
Dylan Reid 97913b4aab mmap: Simplify offset checks
Use ok_or to remove the match witch was harder to read. No functional
change. Pull the check in to a function so that it only needs to be
right once.

Change-Id: I0e5801d9e7e82994e7f1fbda0d2692a4afd59d99
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/850850
Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-01-05 21:14:13 -08:00
..
src mmap: Simplify offset checks 2018-01-05 21:14:13 -08:00
build.rs fix compiler errors and warnings 2017-08-30 13:04:16 -07:00
Cargo.toml fix dependency versions and add Cargo.lock 2017-09-20 03:39:24 -07:00
sock_ctrl_msg.c fix armv7a and aarch64 build errors and warnings 2017-09-01 12:39:18 -07:00