From d6d95a720807007127516116c42995663f9499ca Mon Sep 17 00:00:00 2001 From: Dorinda Bassey Date: Tue, 2 Sep 2025 10:29:56 +0200 Subject: [PATCH] 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 --- vhost-device-gpu/src/device.rs | 2 +- vhost-device-gpu/src/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/vhost-device-gpu/src/device.rs b/vhost-device-gpu/src/device.rs index 7a17dfb..a77fe2c 100644 --- a/vhost-device-gpu/src/device.rs +++ b/vhost-device-gpu/src/device.rs @@ -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(), diff --git a/vhost-device-gpu/src/lib.rs b/vhost-device-gpu/src/lib.rs index 60e9d74..05c6c3d 100644 --- a/vhost-device-gpu/src/lib.rs +++ b/vhost-device-gpu/src/lib.rs @@ -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 )]