Fix for https://bugs.linaro.org/show_bug.cgi?id=1161
Signed-off-by: Ciprian Barbu <[email protected]> --- v2: the same fix for the packet example; all other examples and validation tests (odp_cunit_thread_create) return from the thread functions example/l2fwd/odp_l2fwd.c | 2 ++ example/packet/odp_pktio.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/example/l2fwd/odp_l2fwd.c b/example/l2fwd/odp_l2fwd.c index 150de18..7c4e8bd 100644 --- a/example/l2fwd/odp_l2fwd.c +++ b/example/l2fwd/odp_l2fwd.c @@ -146,6 +146,7 @@ static void *pktio_queue_thread(void *arg) } /* unreachable */ + return NULL; } /** @@ -233,6 +234,7 @@ static void *pktio_ifburst_thread(void *arg) } /* unreachable */ + return NULL; } /** diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index c4c720b..16b57cd 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -213,6 +213,7 @@ static void *pktio_queue_thread(void *arg) } /* unreachable */ + return NULL; } /** @@ -272,6 +273,7 @@ static void *pktio_ifburst_thread(void *arg) } /* unreachable */ + return NULL; } /** -- 1.8.3.2 _______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
