aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorManas <[email protected]>2024-11-18 20:06:58 +0530
committerJens Axboe <[email protected]>2024-11-18 09:10:33 -0700
commita3f143c461444c0b56360bbf468615fa814a8372 (patch)
tree32af9a647f99fb5770d621d081309c04abd34ed9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent88d47f629313730f26a3b00224d1e1a5e3b7bb79 (diff)
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 <[email protected]> Link: https://github.com/Rust-for-Linux/linux/issues/1128 Signed-off-by: Manas <[email protected]> Reviewed-by: Miguel Ojeda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions