Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sound: add clippy lint checks #514

Merged
merged 3 commits into from
Nov 2, 2023
Merged

Commits on Oct 31, 2023

  1. sound/pipewire: prevent unsigned sub overflow

    A subtraction between unsigned integers is made, which by default panics
    on overflow. However, we don't really need to know the difference, only
    that it is not zero or less.
    
    Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
    epilys committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    ecf49b0 View commit details
    Browse the repository at this point in the history
  2. sound: add package.categories field to Cargo.toml

    Suggested by lint https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
    
    Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
    epilys committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    2a06bd9 View commit details
    Browse the repository at this point in the history
  3. sound: add clippy lint checks

    Add basic lints to deny unidiomatic or potentially bad code.
    
    Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
    epilys committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    f7d5178 View commit details
    Browse the repository at this point in the history