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, api-next has been updated via bfbe4f50a2e8a2532fdcb4d2c16d42a477183c07 (commit) from 6e79d897e3d5010991bf6e6ebf207bfd988f1129 (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 bfbe4f50a2e8a2532fdcb4d2c16d42a477183c07 Author: Ola Liljedahl ola.liljedahl@arm.com Date: Tue Sep 19 16:09:08 2017 +0200
linux-generic: pktio: fix gcc7 build error in sched_cb_pktin_poll_one
Adding missing curly braces around if-clause.
For builds which don't flag this as an error, the resulting build would be functional but with degraded performance. https://bugs.linaro.org/show_bug.cgi?id=3246
Signed-off-by: Ola Liljedahl ola.liljedahl@arm.com Reviewed-by: Honnappa Nagarahalli honnappa.nagarahalli@arm.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index bf792a34..64ec1f67 100644 --- a/platform/linux-generic/odp_packet_io.c +++ b/platform/linux-generic/odp_packet_io.c @@ -702,12 +702,13 @@ int sched_cb_pktin_poll_one(int pktio_index, if (odp_unlikely(pkt_hdr->p.input_flags.dst_queue)) { queue = pkt_hdr->dst_queue; buf_hdr = packet_to_buf_hdr(pkt); - if (queue_fn->enq_multi(queue, &buf_hdr, 1) < 0) + if (queue_fn->enq_multi(queue, &buf_hdr, 1) < 0) { /* Queue full? */ odp_packet_free(pkt); __atomic_fetch_add(&entry->s.stats.in_discards, 1, __ATOMIC_RELAXED); + } } else { evt_tbl[num_rx++] = odp_packet_to_event(pkt); }
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_packet_io.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive