* [dpdk-test-report] |WARNING| pw55642 [PATCH v3 37/42] event/octeontx2: add event timer arm timeout burst
[not found] <20190628182354.228-38-pbhagavatula@marvell.com>
@ 2019-06-28 18:30 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-28 18:30 UTC (permalink / raw)
To: test-report; +Cc: pbhagavatula
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/55642
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#69: FILE: drivers/event/octeontx2/otx2_tim_evdev.h:180:
+#define TIM_ARM_TMO_FASTPATH_MODES \
+FP(mod, 0, 0, OTX2_TIM_BKT_MOD | OTX2_TIM_ENA_DFB) \
+FP(mod_fb, 0, 1, OTX2_TIM_BKT_MOD | OTX2_TIM_ENA_FB) \
+FP(and, 1, 0, OTX2_TIM_BKT_AND | OTX2_TIM_ENA_DFB) \
+FP(and_fb, 1, 1, OTX2_TIM_BKT_AND | OTX2_TIM_ENA_FB) \
+
WARNING:TRAILING_SEMICOLON: macros should not use a trailing semicolon
#75: FILE: drivers/event/octeontx2/otx2_tim_evdev.h:186:
+#define FP(_name, _f2, _f1, flags) \
+uint16_t otx2_tim_arm_tmo_tick_burst_ ## _name( \
+ const struct rte_event_timer_adapter *adptr, \
+ struct rte_event_timer **tim, \
+ const uint64_t timeout_tick, const uint16_t nb_timers);
total: 1 errors, 1 warnings, 209 lines checked
^ permalink raw reply [flat|nested] only message in thread