diff mbox series

selftests/bpf: Fix errors in log_fixup.c

Message ID 2dc1d837343d3880057aee05dd047a57@208suo.com (mailing list archive)
State Changes Requested
Delegated to: BPF
Headers show
Series selftests/bpf: Fix errors in log_fixup.c | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch
bpf/vmtest-bpf-PR success PR summary
bpf/vmtest-bpf-VM_Test-1 success Logs for ShellCheck
bpf/vmtest-bpf-VM_Test-2 success Logs for build for aarch64 with gcc
bpf/vmtest-bpf-VM_Test-3 success Logs for build for s390x with gcc
bpf/vmtest-bpf-VM_Test-4 success Logs for build for x86_64 with gcc
bpf/vmtest-bpf-VM_Test-5 success Logs for build for x86_64 with llvm-16
bpf/vmtest-bpf-VM_Test-6 success Logs for set-matrix
bpf/vmtest-bpf-VM_Test-7 success Logs for test_maps on aarch64 with gcc
bpf/vmtest-bpf-VM_Test-8 success Logs for test_maps on s390x with gcc
bpf/vmtest-bpf-VM_Test-9 success Logs for test_maps on x86_64 with gcc
bpf/vmtest-bpf-VM_Test-10 success Logs for test_maps on x86_64 with llvm-16
bpf/vmtest-bpf-VM_Test-11 success Logs for test_progs on aarch64 with gcc
bpf/vmtest-bpf-VM_Test-12 success Logs for test_progs on s390x with gcc
bpf/vmtest-bpf-VM_Test-13 success Logs for test_progs on x86_64 with gcc
bpf/vmtest-bpf-VM_Test-14 success Logs for test_progs on x86_64 with llvm-16
bpf/vmtest-bpf-VM_Test-15 success Logs for test_progs_no_alu32 on aarch64 with gcc
bpf/vmtest-bpf-VM_Test-16 success Logs for test_progs_no_alu32 on s390x with gcc
bpf/vmtest-bpf-VM_Test-17 success Logs for test_progs_no_alu32 on x86_64 with gcc
bpf/vmtest-bpf-VM_Test-18 success Logs for test_progs_no_alu32 on x86_64 with llvm-16
bpf/vmtest-bpf-VM_Test-19 success Logs for test_progs_no_alu32_parallel on aarch64 with gcc
bpf/vmtest-bpf-VM_Test-20 success Logs for test_progs_no_alu32_parallel on x86_64 with gcc
bpf/vmtest-bpf-VM_Test-21 success Logs for test_progs_no_alu32_parallel on x86_64 with llvm-16
bpf/vmtest-bpf-VM_Test-22 success Logs for test_progs_parallel on aarch64 with gcc
bpf/vmtest-bpf-VM_Test-23 success Logs for test_progs_parallel on x86_64 with gcc
bpf/vmtest-bpf-VM_Test-24 success Logs for test_progs_parallel on x86_64 with llvm-16
bpf/vmtest-bpf-VM_Test-25 success Logs for test_verifier on aarch64 with gcc
bpf/vmtest-bpf-VM_Test-26 success Logs for test_verifier on s390x with gcc
bpf/vmtest-bpf-VM_Test-27 success Logs for test_verifier on x86_64 with gcc
bpf/vmtest-bpf-VM_Test-28 success Logs for test_verifier on x86_64 with llvm-16
bpf/vmtest-bpf-VM_Test-29 success Logs for veristat

Commit Message

shijie001@208suo.com July 17, 2023, 7:56 a.m. UTC
The following checkpatch errors are removed:
ERROR: "foo* bar" should be "foo *bar"

Signed-off-by: Jie Shi <shijie001@208suo.com>
---
  tools/testing/selftests/bpf/prog_tests/log_fixup.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

      skel = test_log_fixup__open();
@@ -72,7 +72,7 @@ static void bad_core_relo(size_t log_buf_size, enum 
trunc_type trunc_type)
  static void bad_core_relo_subprog(void)
  {
      char log_buf[8 * 1024];
-    struct test_log_fixup* skel;
+    struct test_log_fixup *skel;
      int err;

      skel = test_log_fixup__open();
@@ -104,7 +104,7 @@ static void bad_core_relo_subprog(void)
  static void missing_map(void)
  {
      char log_buf[8 * 1024];
-    struct test_log_fixup* skel;
+    struct test_log_fixup *skel;
      int err;

      skel = test_log_fixup__open();
@@ -138,7 +138,7 @@ static void missing_map(void)
  static void missing_kfunc(void)
  {
      char log_buf[8 * 1024];
-    struct test_log_fixup* skel;
+    struct test_log_fixup *skel;
      int err;

      skel = test_log_fixup__open();
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/prog_tests/log_fixup.c 
b/tools/testing/selftests/bpf/prog_tests/log_fixup.c
index dba71d98a227..69959748d466 100644
--- a/tools/testing/selftests/bpf/prog_tests/log_fixup.c
+++ b/tools/testing/selftests/bpf/prog_tests/log_fixup.c
@@ -14,7 +14,7 @@  enum trunc_type {
  static void bad_core_relo(size_t log_buf_size, enum trunc_type 
trunc_type)
  {
      char log_buf[8 * 1024];
-    struct test_log_fixup* skel;
+    struct test_log_fixup *skel;
      int err;