Re: [dpdk-dev] [PATCH 07/10] net: fix missing break inside conditional compile block

2017-05-05 Thread Singh, Jasvinder
-Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson Sent: Thursday, May 4, 2017 4:38 PM To: dev@dpdk.org Cc: Richardson, Bruce Subject: [dpdk-dev] [PATCH 07/10] net: fix missing break inside conditional compile block The #ifdef only had the break

[dpdk-dev] [PATCH 07/10] net: fix missing break inside conditional compile block

2017-05-04 Thread Bruce Richardson
The #ifdef only had the break in the else leg rather than in the first leg, leading to the value set their being overridden on fall-through. Fixes: 986ff526fb84 ("net: add CRC computation API") Signed-off-by: Bruce Richardson --- lib/librte_net/rte_net_crc.c | 2 +- 1 file changed, 1 insertion(