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 17a547b56ac5897f0424752b40b2ba07f4d999cb (commit) from d01e6126c7e91d3c660033cf970f6094ea080abb (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 17a547b56ac5897f0424752b40b2ba07f4d999cb Author: Matias Elo matias.elo@nokia.com Date: Mon Dec 17 09:18:57 2018 +0200
linux-gen: socket_mmap: fix build with older clang versions
Olders clang versions (at least 3.4.2 used by CentOS) don't handle frame_map.v2.s_ll definition properly and throw invalid error.
Signed-off-by: Matias Elo matias.elo@nokia.com Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/pktio/socket_mmap.c b/platform/linux-generic/pktio/socket_mmap.c index 03085728..86115228 100644 --- a/platform/linux-generic/pktio/socket_mmap.c +++ b/platform/linux-generic/pktio/socket_mmap.c @@ -103,9 +103,8 @@ static int set_pkt_sock_fanout_mmap(pkt_sock_mmap_t *const pkt_sock, union frame_map { struct { struct tpacket2_hdr ODP_ALIGNED(TPACKET_ALIGNMENT) tp_h; - struct sockaddr_ll - ODP_ALIGNED(TPACKET_ALIGN(sizeof(struct tpacket2_hdr))) - s_ll; + struct sockaddr_ll ODP_ALIGNED(TPACKET_ALIGN(sizeof(struct + tpacket2_hdr))) s_ll; } *v2;
void *raw;
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/pktio/socket_mmap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive