|WARNING| pw115611 [RFC PATCH 3/3] telemetry: use standard logging

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Aug 29 17:20:31 CEST 2022


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

_coding style issues_


WARNING:AVOID_EXTERNS: externs should be avoided in .c files
#124: FILE: lib/telemetry/telemetry.c:54:
+extern int logtype;

ERROR:CODE_INDENT: code indent should use tabs where possible
#128: FILE: lib/telemetry/telemetry.c:57:
+        rte_log(RTE_LOG_ ## l, logtype, "TELEMETRY: " __VA_ARGS__)$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#128: FILE: lib/telemetry/telemetry.c:57:
+        rte_log(RTE_LOG_ ## l, logtype, "TELEMETRY: " __VA_ARGS__)$

total: 1 errors, 2 warnings, 69 lines checked


More information about the test-report mailing list