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

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jan 13 17:20:46 CET 2023


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

_coding style issues_


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

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

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#131: FILE: lib/telemetry/telemetry.c:60:
+        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