Merged,
Maxim.
On 10/27/2015 13:38, Savolainen, Petri (Nokia - FI/Espoo) wrote:
Fixes a clear bug, should be merged ASAP.
Reviewed-by: Petri Savolainen <[email protected]>
-----Original Message-----
From: lng-odp [mailto:[email protected]] On Behalf Of EXT
Matias Elo
Sent: Tuesday, October 27, 2015 10:57 AM
To: [email protected]
Subject: [lng-odp] [PATCH] test: l2fwd: add missing braces
Fixes: https://bugs.linaro.org/show_bug.cgi?id=1868
Signed-off-by: Matias Elo <[email protected]>
---
test/performance/odp_l2fwd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/performance/odp_l2fwd.c b/test/performance/odp_l2fwd.c
index fb5f656..0844f00 100644
--- a/test/performance/odp_l2fwd.c
+++ b/test/performance/odp_l2fwd.c
@@ -382,10 +382,10 @@ static int print_speed_stats(int num_workers, stats_t
**thr_stats,
int stats_enabled = 1;
int loop_forever = (duration == 0);
- if (timeout <= 0)
+ if (timeout <= 0) {
stats_enabled = 0;
timeout = 1;
-
+ }
/* Wait for all threads to be ready*/
odp_barrier_wait(&barrier);
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp