cloud-hypervisor/virtio-devices/src/vhost_user
Rob Bradford c418074360 virtio-devices: vhost_user: fs: Don't reference packed struct
error: reference to packed field is unaligned
  --> virtio-devices/src/vhost_user/fs.rs:85:21
   |
85 |                     fs.flags[i].bits() as i32,
   |                     ^^^^^^^^^^^
   |
   = note: `-D unaligned-references` implied by `-D warnings`
   = warning: this was previously accepted by the compiler but is being
phased out; it will become a hard error in a future release!
   = note: for more information, see issue #82523
<https://github.com/rust-lang/rust/issues/82523>
   = note: fields of packed structs are not properly aligned, and
creating a misaligned reference is undefined behavior (even if that
reference is never dereferenced)

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2021-05-07 14:31:57 +02:00
..
blk.rs virtio-devices: Address Rust 1.51.0 clippy issue (vec_init_then_push) 2021-03-26 11:32:09 +00:00
fs.rs virtio-devices: vhost_user: fs: Don't reference packed struct 2021-05-07 14:31:57 +02:00
handler.rs vhost: Move to upstream crate 2021-02-25 11:20:41 +01:00
mod.rs virtio-devices, vmm: vhost: net: Add client mode support 2021-05-05 16:05:51 +02:00
net.rs virtio-device: fix some misspelled words in comment 2021-05-07 09:07:36 +02:00
vu_common_ctrl.rs virtio-devices: Add support for adding a single memory region 2021-03-11 19:04:21 +01:00