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:
Dorinda Bassey 2025-09-02 10:29:56 +02:00 committed by Stefano Garzarella
parent 066c4f7651
commit d6d95a7208
2 changed files with 1 additions and 2 deletions

View File

@ -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(),

View File

@ -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
)]