* [dpdk-test-report] |WARNING| pw59845 [PATCH 08/11] examples/l3fwd: add event lpm main loop
[not found] <20190926100558.24348-9-pbhagavatula@marvell.com>
@ 2019-09-27 12:05 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-09-27 12:05 UTC (permalink / raw)
To: test-report; +Cc: pbhagavatula
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/59845
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#41: FILE: examples/l3fwd/l3fwd.h:212:
+#define L3FWD_LPM_EVENT_MODE \
+LPM_FP(tx_d, 0, 0, L3FWD_EVENT_TX_DIRECT | L3FWD_EVENT_SINGLE) \
+LPM_FP(tx_d_burst, 0, 1, L3FWD_EVENT_TX_DIRECT | L3FWD_EVENT_BURST) \
+LPM_FP(tx_q, 1, 0, L3FWD_EVENT_TX_ENQ | L3FWD_EVENT_SINGLE) \
+LPM_FP(tx_q_burst, 1, 1, L3FWD_EVENT_TX_ENQ | L3FWD_EVENT_BURST) \
+
WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#47: FILE: examples/l3fwd/l3fwd.h:218:
+#define LPM_FP(_name, _f2, _f1, flags) \
+int \
+lpm_event_main_loop_ ## _name(__attribute__((unused)) void *dummy);
total: 1 errors, 1 warnings, 293 lines checked
^ permalink raw reply [flat|nested] only message in thread