This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via dda80b5e5e143ff05ed0f8b0ce0f502be71eaa8b (commit)
from 50c2f41996707fb112feff9f044feddbbe762b78 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit dda80b5e5e143ff05ed0f8b0ce0f502be71eaa8b
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Fri Oct 18 10:24:05 2019 +0300
configure: disable static test applications without static odp lib
Trying to build static test applications without static ODP library would
fail.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen(a)nokia.com>
diff --git a/configure.ac b/configure.ac
index 76e736c50..81123cbc6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -294,6 +294,9 @@ AC_ARG_ENABLE([static-applications],
[disable static linking of examples and tests]
[ with ODP])], [],
[enable_static_applications=yes])
+AS_IF([test "x$enable_static" != "xno" -a "x$enable_static_applications" != "xno"],
+ [enable_static_applications=yes], [enable_static_applications=no])
+
AM_CONDITIONAL([STATIC_APPS], [test "x$enable_static_applications" != "xno"])
if test "x$DPDK_SHARED" = "xyes" -a "x$enable_static_applications" != "xno" ;
then
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 3 +++
1 file changed, 3 insertions(+)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 6ab6aa876354b68922e3fa038492a01beeb687a7 (commit)
from d766eab7821e292f112b9e80b430656cfa7027d1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6ab6aa876354b68922e3fa038492a01beeb687a7
Author: Petri Savolainen <petri.savolainen(a)nokia.com>
Date: Wed Oct 9 12:30:17 2019 +0300
example: ping: initialize len allways
Initialize len allways to make an older compiler happy.
It complains about potentially uninitialized variable,
but this should happen only when odp_packet_l4_ptr()
returns NULL (which is checked first).
Signed-off-by: Petri Savolainen <petri.savolainen(a)nokia.com>
Reviewed-by: Matias Elo <matias.elo(a)nokia.com>
diff --git a/example/ping/odp_ping.c b/example/ping/odp_ping.c
index 819d4dd82..750f3a9e3 100644
--- a/example/ping/odp_ping.c
+++ b/example/ping/odp_ping.c
@@ -492,11 +492,11 @@ static uint16_t update_chksum(uint16_t chksum, uint16_t old, uint16_t new)
static void icmp_reply(test_global_t *global, odp_packet_t pkt)
{
- uint32_t len;
uint32_t dst_ip;
odph_ipv4hdr_t *ip_hdr;
odph_ethhdr_t *eth_hdr;
uint16_t old, new;
+ uint32_t len = 0;
int index = odp_packet_input_index(pkt);
odp_pktout_queue_t pktout = global->pktio[index].pktout;
odph_ethaddr_t *eth_addr = &global->pktio[index].eth_addr;
-----------------------------------------------------------------------
Summary of changes:
example/ping/odp_ping.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--