Skip to contentSkip to conversation

selftests/bpf: Fix errors in log_fixup.c

PATCH New [email protected] 1 participant 1 message Jul 17, 2023 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 selftests/bpf: Fix errors in log_fixup.c

The following checkpatch errors are removed:
ERROR: "foo* bar" should be "foo *bar"

---
 tools/testing/selftests/bpf/prog_tests/log_fixup.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
tools/testing/selftests/bpf/prog_tests/log_fixup.c +0 -0
index dba71d98a227..69959748d466 100644
@@ -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;

     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();