On Tue, 7 Jul 2020 14:03:20 +0500 Sarosh Arif <sarosh.a...@emumba.com> wrote:
> + struct rte_timer_data *timer_data; > + TIMER_DATA_VALID_GET_OR_ERR_RET(default_data_id, timer_data, -EINVAL); > + > + if (tim->status.state == RTE_TIMER_RUNNING && \ > + (tim->status.owner != (uint16_t)tim_lcore || \ > + tim != timer_data->priv_timer[tim_lcore].running_tim)) > + return -1; > + This is code not a macro. Look at checkpatch output, no \ in code.