virtio-devices: typo fixes

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit is contained in:
Philipp Schuster
2023-01-25 11:00:45 +01:00
committed by Rob Bradford
parent 0e8fd0bc17
commit 6725771dc3
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -43,12 +43,12 @@ use vm_virtio::{AccessPlatform, Translatable};
// };
// ```
//
// This structed will occupy the buffer pointed to by the head descriptor. We'll be accessing it
// This struct will occupy the buffer pointed to by the head descriptor. We'll be accessing it
// as a byte slice. To that end, we define below the offsets for each field struct, as well as the
// packed struct size, as a bunch of `usize` consts.
// Note that these offsets are only used privately by the `VsockPacket` struct, the public interface
// consisting of getter and setter methods, for each struct field, that will also handle the correct
// endianess.
// endianness.
/// The vsock packet header struct size (when packed).
pub const VSOCK_PKT_HDR_SIZE: usize = 44;