diff mbox series

selftests/bpf: Fix errors in log_fixup.c

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

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;