Skip to content
Snippets Groups Projects
user avatar
Ming Lei authored
JIRA: https://issues.redhat.com/browse/RHEL-79456



commit a3f143c461444c0b56360bbf468615fa814a8372
Author: Manas <manas18244@iiitd.ac.in>
Date:   Mon Nov 18 20:06:58 2024 +0530

    rust: block: simplify Result<()> in validate_block_size return

    `Result` is used in place of `Result<()>` because the default type
    parameters are unit `()` and `Error` types, which are automatically
    inferred. Thus keep the usage consistent throughout codebase.

Suggested-by: default avatarMiguel Ojeda <ojeda@kernel.org>
    Link: https://github.com/Rust-for-Linux/linux/issues/1128


Signed-off-by: default avatarManas <manas18244@iiitd.ac.in>
Reviewed-by: default avatarMiguel Ojeda <ojeda@kernel.org>
    Link: https://lore.kernel.org/r/20241118-simplify-result-v3-1-6b1566a77eab@iiitd.ac.in


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
c2190450
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..