mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
2ad6124eeb
Ignore the clippy warning about pointer alignment in casts in set_thread_id(), matching the existing annotation for set_data(). run_mmap is sufficiently aligned, since it is a mmap-ed region with at least page alignment. Fixes this clippy error: casting from `*mut u8` to a more-strictly-aligned pointer (`*mut kvm_sys::x86::bindings::kvm_run`) (1 < 8 bytes) BUG=None TEST=bin/clippy Change-Id: I4c33385d081d785002dda2d589eeb3ed10a92bfc Signed-off-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1896089 Reviewed-by: Zach Reizner <zachr@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |