Add methods to Transport to read and write config space, rather than returning a pointer. #591
GitHub Actions / clippy
succeeded
Oct 29, 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.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check warning on line 369 in src/device/sound.rs
github-actions / clippy
this function has too many arguments (8/7)
warning: this function has too many arguments (8/7)
--> src/device/sound.rs:360:5
|
360 | / pub fn pcm_set_params(
361 | | &mut self,
362 | | stream_id: u32,
363 | | buffer_bytes: u32,
... |
368 | | rate: PcmRate,
369 | | ) -> Result {
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
Check warning on line 265 in src/device/gpu.rs
github-actions / clippy
this function has too many arguments (8/7)
warning: this function has too many arguments (8/7)
--> src/device/gpu.rs:256:5
|
256 | / fn update_cursor(
257 | | &mut self,
258 | | resource_id: u32,
259 | | scanout_id: u32,
... |
264 | | is_move: bool,
265 | | ) -> 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
Loading