[dpdk-test-report] |WARNING| pw55642 [PATCH v3 37/42] event/octeontx2: add event timer arm timeout burst

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Jun 28 20:30:13 CEST 2019


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


More information about the test-report mailing list