From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] net/mlx5: work around compilation issue Date: Fri, 15 Jul 2016 23:00:40 +0200 Message-ID: <4351464.EB90HY8EQ2@xps13> References: <1468420402-27477-1-git-send-email-adrien.mazarguil@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Adrien Mazarguil To: Olga Shern Return-path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 8621E5581 for ; Fri, 15 Jul 2016 23:00:42 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id f65so39261665wmi.0 for ; Fri, 15 Jul 2016 14:00:42 -0700 (PDT) In-Reply-To: <1468420402-27477-1-git-send-email-adrien.mazarguil@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-07-13 16:33, Adrien Mazarguil: > From: Olga Shern > > RHEL 7.1's GCC for POWER8 reports the following error in one rte_memcpy() > macro call by mlx5: > > error: array subscript is above array bounds [-Werror=array-bounds] > > It appears to be a GCC bug which can be worked around by making parentheses > more explicit. > > Signed-off-by: Olga Shern > Signed-off-by: Adrien Mazarguil Applied, thanks