summaryrefslogtreecommitdiff
path: root/io_uring/uring_cmd.h
diff options
context:
space:
mode:
authorManas <manas18244@iiitd.ac.in>2024-11-18 20:06:58 +0530
committerJens Axboe <axboe@kernel.dk>2024-11-18 09:10:33 -0700
commita3f143c461444c0b56360bbf468615fa814a8372 (patch)
tree32af9a647f99fb5770d621d081309c04abd34ed9 /io_uring/uring_cmd.h
parent88d47f629313730f26a3b00224d1e1a5e3b7bb79 (diff)
downloadlwn-a3f143c461444c0b56360bbf468615fa814a8372.tar.gz
lwn-a3f143c461444c0b56360bbf468615fa814a8372.zip
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: Miguel Ojeda <ojeda@kernel.org> Link: https://github.com/Rust-for-Linux/linux/issues/1128 Signed-off-by: Manas <manas18244@iiitd.ac.in> Reviewed-by: Miguel Ojeda <ojeda@kernel.org> Link: https://lore.kernel.org/r/20241118-simplify-result-v3-1-6b1566a77eab@iiitd.ac.in Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/uring_cmd.h')
0 files changed, 0 insertions, 0 deletions