diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-10-03 20:33:26 +0000 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-10-03 23:14:20 +0200 |
| commit | 99dc1ba542420db6b8df209744f55cc52466ad91 (patch) | |
| tree | a1d027fda355cbdd0d658ee1ab0734c303152c66 /include/linux/timerqueue.h | |
| parent | 1ad83c31abfb589dfe3d20a3e904758616d8662f (diff) | |
| download | linux-next-99dc1ba542420db6b8df209744f55cc52466ad91.tar.gz linux-next-99dc1ba542420db6b8df209744f55cc52466ad91.zip | |
selftests/bpf: Format data_in_arena_rust.rs with rustfmt
'make rustfmtcheck' checks every .rs file in the tree and fails since
the test in Rust was added:
Diff in tools/testing/selftests/bpf/progs/data_in_arena_rust.rs:42:
#[no_mangle]
static IN_RODATA: Node = Node { val: 3, next: None };
#[no_mangle]
-static mut IN_DATA: Node = Node { val: 20, next: Some(&IN_RODATA) };
+static mut IN_DATA: Node = Node {
+ val: 20,
+ next: Some(&IN_RODATA),
+};
Format the file with rustfmt. The code and the data of the program
don't change.
Fixes: e86cb7315451 ("selftests/bpf: Add test for global data of a program in Rust")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20261003203326.1086454-1-alexei.starovoitov@gmail.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
