GCC 5 gave an incompatible pointer type warning for pkt_blocks when it's passed to _mm512_mask_i64gather_epi64().
Follow the same pattern used for tbl_blocks where the 'const uint64_t *' is cast to a 'const void *' when passed in to avx512_blocks_gather(). Fixes: 47a2a8f4138e ("dpif-netdev/dpcls-avx512: Enable 16 block processing.") Signed-off-by: Cian Ferriter <cian.ferri...@intel.com> Acked-by: Sunil Pai G <sunil.pa...@intel.com> --- v4: * Added Sunil's Fixes and Acked-by tags. v3: * Add this commit to the series. --- lib/dpif-netdev-lookup-avx512-gather.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif-netdev-lookup-avx512-gather.c b/lib/dpif-netdev-lookup-avx512-gather.c index 7bc1e9e9a..b396772bc 100644 --- a/lib/dpif-netdev-lookup-avx512-gather.c +++ b/lib/dpif-netdev-lookup-avx512-gather.c @@ -155,7 +155,7 @@ netdev_rule_matches_key(const struct dpcls_rule *rule, static inline ALWAYS_INLINE __m512i avx512_blocks_gather(__m512i v_u0, __m512i v_u1, - const uint64_t *pkt_blocks, + const void *pkt_blocks, const void *tbl_blocks, const void *tbl_mf_masks, __mmask64 u1_bcast_msk, -- 2.25.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev