Message ID | 1422524923-32759-1-git-send-email-ciprian.barbu@linaro.org |
---|---|
State | Accepted |
Commit | 8d727bff4e0302d41ba6090f4b0ae3546b133f26 |
Headers | show |
Merged! Maxim. On 01/29/2015 12:48 PM, Ciprian Barbu wrote: > Fix for https://bugs.linaro.org/show_bug.cgi?id=1161 > > Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org> > --- > 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; > } > > /**
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; } /**
Fix for https://bugs.linaro.org/show_bug.cgi?id=1161 Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org> --- 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(+)