Skip to content

Add SomeTransport, an enum wrapping either an MMIO or PCI transport. #571

Add SomeTransport, an enum wrapping either an MMIO or PCI transport.

Add SomeTransport, an enum wrapping either an MMIO or PCI transport. #571

GitHub Actions / clippy succeeded Jul 31, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 375 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:366:5
    |
366 | /     pub fn pcm_set_params(
367 | |         &mut self,
368 | |         stream_id: u32,
369 | |         buffer_bytes: u32,
...   |
374 | |         rate: PcmRate,
375 | |     ) -> Result {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Check warning on line 267 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:258:5
    |
258 | /     fn update_cursor(
259 | |         &mut self,
260 | |         resource_id: u32,
261 | |         scanout_id: u32,
...   |
266 | |         is_move: bool,
267 | |     ) -> 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