Add space after keywoords Signed-off-by: Stephen Hemminger <step...@networkplumber.org> --- examples/l3fwd-power/main.c | 6 +++--- examples/l3fwd/main.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index fd3ade330f82..b2270e1056c8 100644 --- a/examples/l3fwd-power/main.c +++ b/examples/l3fwd-power/main.c @@ -1787,11 +1787,11 @@ parse_config(const char *q_arg) while ((p = strchr(p0,'(')) != NULL) { ++p; - if((p0 = strchr(p,')')) == NULL) + if ((p0 = strchr(p,')')) == NULL) return -1; size = p0 - p; - if(size >= sizeof(s)) + if (size >= sizeof(s)) return -1; snprintf(s, sizeof(s), "%.*s", size, p); @@ -2946,7 +2946,7 @@ main(int argc, char **argv) fflush(stdout); /* init RX queues */ - for(queue = 0; queue < qconf->n_rx_queue; ++queue) { + for (queue = 0; queue < qconf->n_rx_queue; ++queue) { struct rte_eth_rxconf rxq_conf; portid = qconf->rx_queue_list[queue].port_id; diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index 5198ff30dd00..2e1c4939f992 100644 --- a/examples/l3fwd/main.c +++ b/examples/l3fwd/main.c @@ -516,11 +516,11 @@ parse_config(const char *q_arg) while ((p = strchr(p0,'(')) != NULL) { ++p; - if((p0 = strchr(p,')')) == NULL) + if ((p0 = strchr(p,')')) == NULL) return -1; size = p0 - p; - if(size >= sizeof(s)) + if (size >= sizeof(s)) return -1; snprintf(s, sizeof(s), "%.*s", size, p); @@ -1366,7 +1366,7 @@ l3fwd_poll_resource_setup(void) printf("\nInitializing rx queues on lcore %u ... ", lcore_id ); fflush(stdout); /* init RX queues */ - for(queue = 0; queue < qconf->n_rx_queue; ++queue) { + for (queue = 0; queue < qconf->n_rx_queue; ++queue) { struct rte_eth_rxconf rxq_conf; portid = qconf->rx_queue_list[queue].port_id; -- 2.35.1