mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
ch: Fix various misspelled words
Misspellings were identified by https://github.com/marketplace/actions/check-spelling * Initial corrections suggested by Google Sheets * Additional corrections by Google Chrome auto-suggest * Some manual corrections Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -86,7 +86,7 @@ impl<'a> Iterator for DescIter<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
/// A virtio descriptor constraints with C representive.
|
||||
/// A virtio descriptor constraints with C representative.
|
||||
#[repr(C)]
|
||||
#[derive(Default, Clone, Copy)]
|
||||
pub struct Descriptor {
|
||||
@@ -540,13 +540,13 @@ impl Queue {
|
||||
);
|
||||
false
|
||||
} else if desc_table.mask(0xf) != 0 {
|
||||
error!("virtio queue descriptor table breaks alignment contraints");
|
||||
error!("virtio queue descriptor table breaks alignment constraints");
|
||||
false
|
||||
} else if avail_ring.mask(0x1) != 0 {
|
||||
error!("virtio queue available ring breaks alignment contraints");
|
||||
error!("virtio queue available ring breaks alignment constraints");
|
||||
false
|
||||
} else if used_ring.mask(0x3) != 0 {
|
||||
error!("virtio queue used ring breaks alignment contraints");
|
||||
error!("virtio queue used ring breaks alignment constraints");
|
||||
false
|
||||
} else {
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user