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 92ae191876c39a3f5d4fba63e58dd9e8c444239b (commit) from 6104182f253161f17fd3ca5a377ed1bac62e366e (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 92ae191876c39a3f5d4fba63e58dd9e8c444239b Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Wed Dec 21 16:38:31 2016 +0300
test: tm: queue id can be not updated
get_unique_id() function on error do not update it's second and third arguments (unique_id and is_ipv4). gcc -O3 finds that and traps compilation.
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Tested-and-reviewed-by: Mike Holmes mike.holmes@linaro.org
diff --git a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c index fcc7187..0271758 100644 --- a/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c +++ b/test/common_plat/validation/api/traffic_mngr/traffic_mngr.c @@ -944,8 +944,8 @@ static void dump_rcvd_pkts(uint32_t first_rcv_idx, uint32_t last_rcv_idx) odp_packet_t rcv_pkt; uint32_t rcv_idx; int32_t xmt_idx; - uint16_t unique_id; - uint8_t is_ipv4; + uint16_t unique_id = 0; + uint8_t is_ipv4 = 0; int rc;
for (rcv_idx = first_rcv_idx; rcv_idx <= last_rcv_idx; rcv_idx++) {
-----------------------------------------------------------------------
Summary of changes: test/common_plat/validation/api/traffic_mngr/traffic_mngr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive