mirror of
https://github.com/rust-vmm/vhost-device.git
synced 2025-12-31 19:45:41 +00:00
vhost-device-gpu: fix typo in comment and code
correct typo in comment in device.rs and typo in lib.rs Signed-off-by: Dorinda Bassey <dbassey@redhat.com>
This commit is contained in:
parent
066c4f7651
commit
d6d95a7208
@ -1505,7 +1505,7 @@ mod tests {
|
||||
|
||||
backend.set_gpu_socket(gpu_backend).unwrap();
|
||||
|
||||
// Unfortunately there is no way to crate a VringEpollHandler directly (the ::new is not public)
|
||||
// Unfortunately, there is no way to create a VringEpollHandler directly (the ::new is not public)
|
||||
// So we create a daemon to create the epoll handler for us here
|
||||
let daemon = VhostUserDaemon::new(
|
||||
"vhost-device-gpu-backend".to_string(),
|
||||
|
||||
@ -23,7 +23,6 @@
|
||||
clippy::bool_to_int_with_if,
|
||||
clippy::borrow_as_ptr,
|
||||
clippy::case_sensitive_file_extension_comparisons,
|
||||
clippy::cast_lossless,
|
||||
clippy::cast_ptr_alignment,
|
||||
clippy::naive_bytecount
|
||||
)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user