|WARNING| pw155501 [PATCH] trace: force 8 byte alignment when --no-huge is used

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jul 24 02:04:43 CEST 2025


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/155501

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#131: FILE: lib/eal/common/eal_common_trace.c:367:
+        size_t mem_size = trace_mem_sz(trace->buff_len);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#131: FILE: lib/eal/common/eal_common_trace.c:367:
+        size_t mem_size = trace_mem_sz(trace->buff_len);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#132: FILE: lib/eal/common/eal_common_trace.c:368:
+        void *aligned_ptr = NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#132: FILE: lib/eal/common/eal_common_trace.c:368:
+        void *aligned_ptr = NULL;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#133: FILE: lib/eal/common/eal_common_trace.c:369:
+        int ret = posix_memalign(&aligned_ptr, 8, mem_size);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#133: FILE: lib/eal/common/eal_common_trace.c:369:
+        int ret = posix_memalign(&aligned_ptr, 8, mem_size);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#134: FILE: lib/eal/common/eal_common_trace.c:370:
+        header = (ret == 0) ? aligned_ptr : NULL;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#134: FILE: lib/eal/common/eal_common_trace.c:370:
+        header = (ret == 0) ? aligned_ptr : NULL;$

total: 4 errors, 4 warnings, 13 lines checked


More information about the test-report mailing list