[dpdk-test-report] |WARNING| pw67756 [PATCH] test: add reassembly perf test

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 3 13:51:53 CEST 2020


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#128: FILE: app/test/test_reassembly_perf.c:18:
+#define MAX_FLOWS 1024 * 1024

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#133: FILE: app/test/test_reassembly_perf.c:23:
+#define MAX_PKTS MAX_FLOWS *MAX_FRAGMENTS
                            ^

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#133: FILE: app/test/test_reassembly_perf.c:23:
+#define MAX_PKTS MAX_FLOWS *MAX_FRAGMENTS

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#136: FILE: app/test/test_reassembly_perf.c:26:
+#define MAX_TTL_MS 5 * MS_PER_S

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#143: FILE: app/test/test_reassembly_perf.c:33:
+#define IP_SRC_ADDR(x) (198U << 24) | (18 << 16) | (0 << 8) | x

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#144: FILE: app/test/test_reassembly_perf.c:34:
+#define IP_DST_ADDR(x) (198U << 24) | (18 << 16) | (1 << 8) | x

WARNING:MISSING_EOF_NEWLINE: adding a line without newline at end of file
#1099: FILE: app/test/test_reassembly_perf.c:989:
+REGISTER_TEST_COMMAND(reassembly_perf_autotest, test_reassembly_perf);

total: 6 errors, 1 warnings, 1003 lines checked


More information about the test-report mailing list