Skip to content

Add hypercall-based PCI CAM for x86-64 pKVM. #658

Add hypercall-based PCI CAM for x86-64 pKVM.

Add hypercall-based PCI CAM for x86-64 pKVM. #658

GitHub Actions / clippy succeeded Dec 6, 2024 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
Note 0
Help 0

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 289 in src/transport/x86_64.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type parameter `H` goes unused in function definition

warning: type parameter `H` goes unused in function definition
   --> src/transport/x86_64.rs:289:19
    |
289 | fn get_bar_region<H: Hal, T, C: ConfigurationAccess>(
    |                   ^^^^^^^^ help: consider removing the parameter
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_type_parameters
    = note: `#[warn(clippy::extra_unused_type_parameters)]` on by default

Check warning on line 374 in src/device/sound.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
   --> src/device/sound.rs:365:5
    |
365 | /     pub fn pcm_set_params(
366 | |         &mut self,
367 | |         stream_id: u32,
368 | |         buffer_bytes: u32,
...   |
373 | |         rate: PcmRate,
374 | |     ) -> Result {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Check warning on line 264 in src/device/gpu.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
   --> src/device/gpu.rs:255:5
    |
255 | /     fn update_cursor(
256 | |         &mut self,
257 | |         resource_id: u32,
258 | |         scanout_id: u32,
...   |
263 | |         is_move: bool,
264 | |     ) -> Result {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default